Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 190.3 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.099/3.099, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody")
translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 71.81 kB / 1.145 GB, free: 30.76 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3301, allocations: 174.9 MB / 1.316 GB, free: 9.828 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007104/0.3372, allocations: 5.001 MB / 1.321 GB, free: 4.805 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1787/0.5159, allocations: 151.2 MB / 1.469 GB, free: 12.98 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008045/0.5167, allocations: 27.75 kB / 1.469 GB, free: 12.96 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.5173, allocations: 194.2 kB / 1.469 GB, free: 12.77 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.0017/0.519, allocations: 0.5588 MB / 1.469 GB, free: 12.21 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.521, allocations: 0.8709 MB / 1.47 GB, free: 11.34 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.001617/0.5226, allocations: 1.428 MB / 1.472 GB, free: 9.906 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007397/0.5234, allocations: 434 kB / 1.472 GB, free: 9.457 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007071/0.5241, allocations: 0.506 MB / 1.472 GB, free: 8.949 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006621/0.5248, allocations: 0.5173 MB / 1.473 GB, free: 8.43 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.000162/0.5249, allocations: 116 kB / 1.473 GB, free: 8.316 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009061/0.5258, allocations: 0.4917 MB / 1.474 GB, free: 7.824 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.5261, allocations: 299 kB / 1.474 GB, free: 7.531 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005488/0.5267, allocations: 0.5674 MB / 1.474 GB, free: 6.961 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002104/0.5288, allocations: 1.662 MB / 1.476 GB, free: 5.293 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5288, allocations: 7.938 kB / 1.476 GB, free: 5.285 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.5288, allocations: 3.938 kB / 1.476 GB, free: 5.281 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.341e-05/0.5288, allocations: 0 / 1.476 GB, free: 5.281 MB / 1.17 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.002567/0.5314, allocations: 1.42 MB / 1.477 GB, free: 3.828 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.5314, allocations: 12.03 kB / 1.477 GB, free: 3.816 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.5326, allocations: 240 kB / 1.478 GB, free: 3.582 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.5338, allocations: 0.7016 MB / 1.478 GB, free: 2.844 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.5339, allocations: 66 kB / 1.478 GB, free: 2.781 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.534, allocations: 84 kB / 1.478 GB, free: 2.699 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.5358, allocations: 0.9833 MB / 1.479 GB, free: 1.664 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.5358, allocations: 3.938 kB / 1.479 GB, free: 1.66 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-05/0.5359, allocations: 40 kB / 1.479 GB, free: 1.621 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.5359, allocations: 23.98 kB / 1.48 GB, free: 1.598 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.538, allocations: 1.159 MB / 1.481 GB, free: 448 kB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004628/0.5426, allocations: 3.018 MB / 1.484 GB, free: 13.28 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.5444, allocations: 0.8228 MB / 1.484 GB, free: 12.45 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005715/0.545, allocations: 289.8 kB / 1.485 GB, free: 12.16 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.658e-05/0.5451, allocations: 36.59 kB / 1.485 GB, free: 12.13 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009374/0.546, allocations: 0.4978 MB / 1.485 GB, free: 11.62 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=83): time 2.204e-06/0.546, allocations: 0 / 1.485 GB, free: 11.62 MB / 1.186 GB
Notification: Performance of matching and sorting (n=83): time 0.003274/0.5493, allocations: 1.16 MB / 1.486 GB, free: 10.45 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.5494, allocations: 192.9 kB / 1.487 GB, free: 10.22 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008502/0.5502, allocations: 0.6332 MB / 1.487 GB, free: 9.582 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.5503, allocations: 41.7 kB / 1.487 GB, free: 9.535 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.5507, allocations: 421 kB / 1.488 GB, free: 9.117 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.5509, allocations: 285.6 kB / 1.488 GB, free: 8.836 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/0.5512, allocations: 166.6 kB / 1.488 GB, free: 8.668 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0002593/0.5515, allocations: 390.7 kB / 1.488 GB, free: 8.277 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/0.5521, allocations: 273.9 kB / 1.489 GB, free: 8.008 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000666/0.5528, allocations: 389.7 kB / 1.489 GB, free: 7.605 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.554, allocations: 0.6462 MB / 1.49 GB, free: 6.941 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.554, allocations: 0 / 1.49 GB, free: 6.941 MB / 1.186 GB
Notification: Performance of matching and sorting (n=102) (initialization): time 0.002177/0.5562, allocations: 0.8882 MB / 1.491 GB, free: 6.039 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.5562, allocations: 12.19 kB / 1.491 GB, free: 6.027 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5562, allocations: 0 / 1.491 GB, free: 6.027 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/0.5568, allocations: 88.7 kB / 1.491 GB, free: 5.938 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/0.5575, allocations: 163.8 kB / 1.491 GB, free: 5.777 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.5598, allocations: 1.533 MB / 1.492 GB, free: 4.125 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/0.5605, allocations: 99.67 kB / 1.492 GB, free: 4.027 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.5606, allocations: 43.91 kB / 1.492 GB, free: 3.984 MB / 1.186 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.0004759/0.5611, allocations: 276.2 kB / 1.493 GB, free: 3.707 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.5612, allocations: 91.44 kB / 1.493 GB, free: 3.617 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.5638, allocations: 1.085 MB / 1.494 GB, free: 2.516 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.5638, allocations: 8 kB / 1.494 GB, free: 2.508 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5638, allocations: 0 / 1.494 GB, free: 2.508 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.5638, allocations: 7.969 kB / 1.494 GB, free: 2.5 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003731/0.5675, allocations: 2.056 MB / 1.496 GB, free: 392 kB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5675, allocations: 0 / 1.496 GB, free: 392 kB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/0.5682, allocations: 147.8 kB / 1.496 GB, free: 244 kB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004527/0.5686, allocations: 80.72 kB / 1.496 GB, free: 160 kB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.953e-05/0.5687, allocations: 23.98 kB / 1.496 GB, free: 136 kB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.5707, allocations: 1.562 MB / 1.498 GB, free: 14.45 MB / 1.201 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5707, allocations: 0 / 1.498 GB, free: 14.45 MB / 1.201 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.5729, allocations: 1.018 MB / 1.499 GB, free: 13.41 MB / 1.201 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.5733, allocations: 191.1 kB / 1.499 GB, free: 13.23 MB / 1.201 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.5734, allocations: 28.06 kB / 1.499 GB, free: 13.2 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006482/0.5741, allocations: 63.92 kB / 1.499 GB, free: 13.14 MB / 1.201 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.5742, allocations: 76.8 kB / 1.499 GB, free: 13.06 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.418e-05/0.5743, allocations: 39.97 kB / 1.499 GB, free: 13.02 MB / 1.201 GB
Notification: Performance of sorting global known variables: time 0.0006138/0.5749, allocations: 455 kB / 1.499 GB, free: 12.58 MB / 1.201 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.5749, allocations: 4 kB / 1.499 GB, free: 12.57 MB / 1.201 GB
Notification: Performance of remove unused functions: time 0.0009083/0.5758, allocations: 339.1 kB / 1.5 GB, free: 12.24 MB / 1.201 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.001908/0.5777, allocations: 0.6078 MB / 1.5 GB, free: 11.8 MB / 1.201 GB
Notification: Performance of simCode: created initialization part: time 0.001754/0.5795, allocations: 0.8198 MB / 1.501 GB, free: 10.97 MB / 1.201 GB
Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5795, allocations: 4 kB / 1.501 GB, free: 10.97 MB / 1.201 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009672/0.5805, allocations: 0.4924 MB / 1.502 GB, free: 10.46 MB / 1.201 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5816, allocations: 326.3 kB / 1.502 GB, free: 10.17 MB / 1.201 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.5846, allocations: 1.707 MB / 1.504 GB, free: 8.434 MB / 1.201 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.5853, allocations: 1.027 MB / 1.505 GB, free: 7.375 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.000771/0.5861, allocations: 270.8 kB / 1.505 GB, free: 7.105 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.5864, allocations: 107.4 kB / 1.505 GB, free: 7 MB / 1.201 GB
Notification: Performance of SimCode: time 3.8e-07/0.5864, allocations: 0 / 1.505 GB, free: 7 MB / 1.201 GB
Notification: Performance of Templates: time 0.02816/0.6146, allocations: 16.46 MB / 1.521 GB, free: 6.695 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.377116478048265]