Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001726/0.001726, allocations: 110 kB / 18.93 MB, free: 2.945 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.002013/0.002013, allocations: 188 kB / 22.22 MB, free: 5.164 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.418/1.418, allocations: 225.6 MB / 251 MB, free: 13.02 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.152/3.152, allocations: 0.4893 GB / 0.7884 GB, free: 33.09 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness")
translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.81 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.379, allocations: 174.9 MB / 1.316 GB, free: 9.746 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007553/0.3866, allocations: 5.231 MB / 1.321 GB, free: 4.492 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1882/0.5748, allocations: 151.3 MB / 1.469 GB, free: 12.64 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.5758, allocations: 23.81 kB / 1.469 GB, free: 12.62 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007126/0.5765, allocations: 210.1 kB / 1.469 GB, free: 12.41 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.001971/0.5785, allocations: 0.5763 MB / 1.47 GB, free: 11.84 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.5806, allocations: 0.8781 MB / 1.47 GB, free: 10.96 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.001764/0.5824, allocations: 1.463 MB / 1.472 GB, free: 9.496 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000837/0.5832, allocations: 482.2 kB / 1.472 GB, free: 8.992 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000748/0.5839, allocations: 0.5373 MB / 1.473 GB, free: 8.453 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007883/0.5847, allocations: 0.5524 MB / 1.473 GB, free: 7.898 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.5849, allocations: 128 kB / 1.474 GB, free: 7.773 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.586, allocations: 0.4957 MB / 1.474 GB, free: 7.277 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003345/0.5864, allocations: 323 kB / 1.474 GB, free: 6.961 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.587, allocations: 0.6064 MB / 1.475 GB, free: 6.352 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002416/0.5894, allocations: 1.763 MB / 1.477 GB, free: 4.582 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5894, allocations: 0 / 1.477 GB, free: 4.582 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.783e-06/0.5894, allocations: 0 / 1.477 GB, free: 4.582 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 2.6e-05/0.5894, allocations: 0 / 1.477 GB, free: 4.582 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: 245
 * Number of variables: 245
Notification: Performance of Generate backend data structure: time 0.003039/0.5925, allocations: 1.47 MB / 1.478 GB, free: 3.078 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5925, allocations: 12.03 kB / 1.478 GB, free: 3.066 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.5943, allocations: 311.9 kB / 1.478 GB, free: 2.762 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5956, allocations: 0.7251 MB / 1.479 GB, free: 2.008 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.5957, allocations: 70 kB / 1.479 GB, free: 1.941 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.5958, allocations: 92 kB / 1.479 GB, free: 1.852 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.598, allocations: 1.07 MB / 1.48 GB, free: 0.7422 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.598, allocations: 0 / 1.48 GB, free: 0.7422 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-05/0.5981, allocations: 40 kB / 1.48 GB, free: 0.7031 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.5981, allocations: 27.98 kB / 1.48 GB, free: 0.6758 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.6006, allocations: 1.272 MB / 1.482 GB, free: 15.4 MB / 1.186 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005104/0.6057, allocations: 3.009 MB / 1.485 GB, free: 12.24 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.6083, allocations: 0.9001 MB / 1.485 GB, free: 11.34 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008321/0.6092, allocations: 338.6 kB / 1.486 GB, free: 11.01 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.822e-05/0.6092, allocations: 32.59 kB / 1.486 GB, free: 10.98 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/0.6105, allocations: 0.5645 MB / 1.486 GB, free: 10.4 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=84): time 2.515e-06/0.6105, allocations: 0 / 1.486 GB, free: 10.4 MB / 1.186 GB
Notification: Performance of matching and sorting (n=84): time 0.004155/0.6146, allocations: 1.309 MB / 1.488 GB, free: 9.082 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.6147, allocations: 192.9 kB / 1.488 GB, free: 8.852 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/0.6156, allocations: 0.6449 MB / 1.488 GB, free: 8.203 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 9.286e-05/0.6157, allocations: 41.7 kB / 1.488 GB, free: 8.156 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.6161, allocations: 433 kB / 1.489 GB, free: 7.727 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.6164, allocations: 285.5 kB / 1.489 GB, free: 7.445 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.6167, allocations: 178.5 kB / 1.489 GB, free: 7.266 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0002211/0.6169, allocations: 386.8 kB / 1.49 GB, free: 6.879 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008132/0.6177, allocations: 321.8 kB / 1.49 GB, free: 6.562 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009153/0.6186, allocations: 423 kB / 1.49 GB, free: 6.137 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.6203, allocations: 0.7179 MB / 1.491 GB, free: 5.41 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6203, allocations: 0 / 1.491 GB, free: 5.41 MB / 1.186 GB
Notification: Performance of matching and sorting (n=100) (initialization): time 0.002653/0.623, allocations: 0.9739 MB / 1.492 GB, free: 4.422 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.623, allocations: 4 kB / 1.492 GB, free: 4.418 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.623, allocations: 8.078 kB / 1.492 GB, free: 4.41 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/0.6236, allocations: 80.78 kB / 1.492 GB, free: 4.328 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008523/0.6244, allocations: 187.8 kB / 1.492 GB, free: 4.145 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.6267, allocations: 1.535 MB / 1.494 GB, free: 2.488 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.6278, allocations: 113.4 kB / 1.494 GB, free: 2.379 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-05/0.6278, allocations: 39.97 kB / 1.494 GB, free: 2.34 MB / 1.186 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * 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 (98):
 * Single equations (assignments): 97
 * 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.0005812/0.6284, allocations: 276.3 kB / 1.494 GB, free: 2.062 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.6286, allocations: 87.44 kB / 1.494 GB, free: 1.977 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/0.6317, allocations: 1.202 MB / 1.495 GB, free: 0.7539 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.6317, allocations: 12 kB / 1.495 GB, free: 0.7422 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.6317, allocations: 0 / 1.495 GB, free: 0.7422 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.6317, allocations: 3.984 kB / 1.495 GB, free: 0.7383 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00429/0.636, allocations: 2.105 MB / 1.498 GB, free: 14.58 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.636, allocations: 0 / 1.498 GB, free: 14.58 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008057/0.6368, allocations: 175.8 kB / 1.498 GB, free: 14.41 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.6373, allocations: 76.72 kB / 1.498 GB, free: 14.33 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/0.6373, allocations: 23.98 kB / 1.498 GB, free: 14.3 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.6394, allocations: 1.566 MB / 1.499 GB, free: 12.62 MB / 1.201 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.6394, allocations: 64 / 1.499 GB, free: 12.62 MB / 1.201 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.6421, allocations: 1.119 MB / 1.5 GB, free: 11.48 MB / 1.201 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/0.6426, allocations: 207 kB / 1.501 GB, free: 11.28 MB / 1.201 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.6427, allocations: 24 kB / 1.501 GB, free: 11.25 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008055/0.6435, allocations: 86.58 kB / 1.501 GB, free: 11.17 MB / 1.201 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.6437, allocations: 80.8 kB / 1.501 GB, free: 11.09 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.6438, allocations: 39.97 kB / 1.501 GB, free: 11.05 MB / 1.201 GB
Notification: Performance of sorting global known variables: time 0.0006295/0.6444, allocations: 463 kB / 1.501 GB, free: 10.61 MB / 1.201 GB
Notification: Performance of sort global known variables: time 1e-07/0.6444, allocations: 0 / 1.501 GB, free: 10.61 MB / 1.201 GB
Notification: Performance of remove unused functions: time 0.0009849/0.6454, allocations: 355 kB / 1.502 GB, free: 10.26 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 (97):
 * Single equations (assignments): 91
 * 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.001935/0.6473, allocations: 0.6074 MB / 1.502 GB, free: 9.82 MB / 1.201 GB
Notification: Performance of simCode: created initialization part: time 0.002346/0.6497, allocations: 0.9211 MB / 1.503 GB, free: 8.887 MB / 1.201 GB
Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6497, allocations: 4 kB / 1.503 GB, free: 8.883 MB / 1.201 GB
Notification: Performance of simCode: created simulation system equations: time 0.001237/0.6509, allocations: 0.5548 MB / 1.504 GB, free: 8.316 MB / 1.201 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.6523, allocations: 303.6 kB / 1.504 GB, free: 8.043 MB / 1.201 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.6559, allocations: 1.824 MB / 1.506 GB, free: 6.191 MB / 1.201 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007353/0.6566, allocations: 1.051 MB / 1.507 GB, free: 5.105 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0008651/0.6575, allocations: 270.9 kB / 1.507 GB, free: 4.836 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.6578, allocations: 115.4 kB / 1.507 GB, free: 4.723 MB / 1.201 GB
Notification: Performance of SimCode: time 7.12e-07/0.6578, allocations: 0 / 1.507 GB, free: 4.723 MB / 1.201 GB
Notification: Performance of Templates: time 0.02981/0.6876, allocations: 16.62 MB / 1.523 GB, free: 4.301 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.720591630786657]