Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 105.2 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002904/0.002904, allocations: 59.44 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3621, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007865/0.37, allocations: 4.936 MB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8027/1.173, allocations: 148.4 MB / 1.214 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/1.174, allocations: 23.22 kB / 1.214 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009548/1.175, allocations: 153.5 kB / 1.214 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002511/1.177, allocations: 499.5 kB / 1.215 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/1.18, allocations: 0.7624 MB / 1.215 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002526/1.183, allocations: 1.411 MB / 1.217 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/1.184, allocations: 0.5995 MB / 1.217 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/1.185, allocations: 0.4991 MB / 1.218 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007761/1.186, allocations: 0.5181 MB / 1.218 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/1.186, allocations: 116.9 kB / 1.218 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/1.187, allocations: 454.2 kB / 1.219 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003168/1.188, allocations: 298.9 kB / 1.219 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006674/1.188, allocations: 0.5796 MB / 1.22 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/1.19, allocations: 1.234 MB / 1.221 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/1.19, allocations: 4 kB / 1.221 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.824e-06/1.19, allocations: 0 / 1.221 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.995e-05/1.19, allocations: 0 / 1.221 GB, free: 6.648 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002954/1.193, allocations: 1.457 MB / 1.222 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.193, allocations: 9.156 kB / 1.222 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/1.195, allocations: 237.4 kB / 1.222 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/1.196, allocations: 0.7423 MB / 1.223 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/1.196, allocations: 74.64 kB / 1.223 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/1.196, allocations: 89.56 kB / 1.223 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/1.198, allocations: 0.9757 MB / 1.224 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/1.198, allocations: 3.938 kB / 1.224 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-05/1.198, allocations: 36.31 kB / 1.224 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/1.198, allocations: 23.16 kB / 1.224 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/1.2, allocations: 1.161 MB / 1.226 GB, free: 3.484 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005088/1.205, allocations: 3.04 MB / 1.228 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/1.207, allocations: 0.9539 MB / 1.229 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/1.208, allocations: 310.7 kB / 1.23 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.32e-05/1.208, allocations: 36.59 kB / 1.23 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009785/1.209, allocations: 0.4981 MB / 1.23 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 3.136e-06/1.209, allocations: 4 kB / 1.23 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83): time 0.003595/1.212, allocations: 1.228 MB / 1.231 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.213, allocations: 200.8 kB / 1.232 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/1.214, allocations: 0.6332 MB / 1.232 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/1.214, allocations: 41.7 kB / 1.232 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004738/1.214, allocations: 404.2 kB / 1.233 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/1.215, allocations: 276.1 kB / 1.233 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/1.215, allocations: 174.5 kB / 1.233 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002306/1.215, allocations: 390.8 kB / 1.233 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/1.216, allocations: 269.9 kB / 1.234 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/1.217, allocations: 389.7 kB / 1.234 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/1.218, allocations: 0.6423 MB / 1.235 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/1.218, allocations: 8 kB / 1.235 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002302/1.22, allocations: 0.8838 MB / 1.236 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/1.22, allocations: 8 kB / 1.236 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.22, allocations: 0 / 1.236 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000646/1.221, allocations: 88.7 kB / 1.236 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/1.222, allocations: 167.7 kB / 1.236 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/1.224, allocations: 1.639 MB / 1.237 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.225, allocations: 107.2 kB / 1.238 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.225, allocations: 38.16 kB / 1.238 GB, free: 6.855 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000681/1.226, allocations: 268.8 kB / 1.238 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/1.226, allocations: 79.06 kB / 1.238 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/1.229, allocations: 1.093 MB / 1.239 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/1.229, allocations: 12 kB / 1.239 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.229, allocations: 0 / 1.239 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.229, allocations: 3.984 kB / 1.239 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004202/1.233, allocations: 2.102 MB / 1.241 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.233, allocations: 0 / 1.241 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/1.234, allocations: 151.8 kB / 1.241 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/1.234, allocations: 80.7 kB / 1.241 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/1.235, allocations: 27.98 kB / 1.241 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/1.237, allocations: 1.65 MB / 1.243 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.237, allocations: 4.031 kB / 1.243 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/1.239, allocations: 1.015 MB / 1.244 GB, free: 132 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/1.24, allocations: 272.2 kB / 1.244 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/1.24, allocations: 20 kB / 1.244 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007858/1.241, allocations: 79.8 kB / 1.244 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/1.241, allocations: 64.97 kB / 1.244 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.345e-05/1.241, allocations: 43.97 kB / 1.244 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007165/1.242, allocations: 463 kB / 1.245 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.242, allocations: 0 / 1.245 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001168/1.243, allocations: 327.3 kB / 1.245 GB, free: 14.86 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002102/1.245, allocations: 0.608 MB / 1.246 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002767/1.248, allocations: 1.066 MB / 1.247 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/1.248, allocations: 4 kB / 1.247 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.249, allocations: 0.5275 MB / 1.247 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/1.251, allocations: 315.8 kB / 1.248 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004903/1.255, allocations: 2.137 MB / 1.25 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009852/1.256, allocations: 1.031 MB / 1.251 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/1.257, allocations: 119.4 kB / 1.251 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of SimCode: time 8.72e-07/1.257, allocations: 3.938 kB / 1.251 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of Templates: time 0.03145/1.288, allocations: 18.86 MB / 1.269 GB, free: 6.367 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches