Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001912/0.001912, 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.002483/0.002483, allocations: 187.4 kB / 22.22 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.47/1.47, 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-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.131/3.131, allocations: 496 MB / 0.7835 GB, free: 33.61 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-maint.12.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle")
translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 69.48 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3437, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007696/0.3514, allocations: 4.976 MB / 1.312 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1901/0.5414, allocations: 151.2 MB / 1.46 GB, free: 4.996 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007221/0.5422, allocations: 23.81 kB / 1.46 GB, free: 4.973 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005618/0.5427, allocations: 198.2 kB / 1.46 GB, free: 4.777 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.0016/0.5443, allocations: 0.562 MB / 1.461 GB, free: 4.219 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.5463, allocations: 0.8737 MB / 1.461 GB, free: 3.348 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001616/0.5479, allocations: 1.429 MB / 1.463 GB, free: 1.914 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007783/0.5487, allocations: 421.9 kB / 1.463 GB, free: 1.473 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000749/0.5494, allocations: 0.5139 MB / 1.464 GB, free: 0.957 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006561/0.5501, allocations: 0.5213 MB / 1.464 GB, free: 444 kB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.5503, allocations: 116 kB / 1.464 GB, free: 328 kB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009852/0.5512, allocations: 499.6 kB / 1.465 GB, free: 15.83 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.5516, allocations: 307 kB / 1.465 GB, free: 15.53 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.5522, allocations: 0.5713 MB / 1.466 GB, free: 14.96 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002231/0.5544, allocations: 1.673 MB / 1.467 GB, free: 13.28 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.5544, allocations: 4 kB / 1.467 GB, free: 13.27 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.213e-06/0.5544, allocations: 0 / 1.467 GB, free: 13.27 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 2.026e-05/0.5544, allocations: 4 kB / 1.467 GB, free: 13.27 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: 217
 * Number of variables: 217
Notification: Performance of Generate backend data structure: time 0.002973/0.5574, allocations: 1.421 MB / 1.469 GB, free: 11.82 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5574, allocations: 12.03 kB / 1.469 GB, free: 11.8 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009866/0.5584, allocations: 188.1 kB / 1.469 GB, free: 11.62 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.5598, allocations: 0.7143 MB / 1.47 GB, free: 10.88 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.5599, allocations: 65.98 kB / 1.47 GB, free: 10.81 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.56, allocations: 87.94 kB / 1.47 GB, free: 10.73 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.5618, allocations: 0.9418 MB / 1.471 GB, free: 9.746 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.5619, allocations: 3.938 kB / 1.471 GB, free: 9.742 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.473e-05/0.562, allocations: 32 kB / 1.471 GB, free: 9.711 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.562, allocations: 20 kB / 1.471 GB, free: 9.691 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.5639, allocations: 1.128 MB / 1.472 GB, free: 8.562 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00539/0.5693, allocations: 2.717 MB / 1.474 GB, free: 5.719 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.571, allocations: 0.7885 MB / 1.475 GB, free: 4.918 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/0.5716, allocations: 290.7 kB / 1.476 GB, free: 4.633 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.522e-05/0.5717, allocations: 28.61 kB / 1.476 GB, free: 4.605 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.5727, allocations: 0.5162 MB / 1.476 GB, free: 4.07 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=84): time 4.83e-06/0.5727, allocations: 4 kB / 1.476 GB, free: 4.066 MB / 1.17 GB
Notification: Performance of matching and sorting (n=84): time 0.003579/0.5763, allocations: 1.172 MB / 1.477 GB, free: 2.883 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.5765, allocations: 200.9 kB / 1.477 GB, free: 2.645 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000993/0.5775, allocations: 0.641 MB / 1.478 GB, free: 1.992 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 8.888e-05/0.5776, allocations: 49.64 kB / 1.478 GB, free: 1.938 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.5779, allocations: 405.1 kB / 1.478 GB, free: 1.535 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.5782, allocations: 281.6 kB / 1.479 GB, free: 1.258 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.5785, allocations: 170.6 kB / 1.479 GB, free: 1.086 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002055/0.5787, allocations: 394.7 kB / 1.479 GB, free: 0.6914 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.5793, allocations: 277.8 kB / 1.48 GB, free: 428 kB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007053/0.58, allocations: 371.1 kB / 1.48 GB, free: 44 kB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.5813, allocations: 0.6281 MB / 1.48 GB, free: 15.4 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5813, allocations: 0 / 1.48 GB, free: 15.4 MB / 1.186 GB
Notification: Performance of matching and sorting (n=101) (initialization): time 0.00219/0.5835, allocations: 0.8804 MB / 1.481 GB, free: 14.51 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5835, allocations: 4 kB / 1.481 GB, free: 14.51 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.5835, allocations: 11.88 kB / 1.481 GB, free: 14.5 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/0.5841, allocations: 84.92 kB / 1.481 GB, free: 14.41 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/0.5849, allocations: 167.8 kB / 1.482 GB, free: 14.25 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.5871, allocations: 1.528 MB / 1.483 GB, free: 12.6 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008352/0.5879, allocations: 99.56 kB / 1.483 GB, free: 12.5 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/0.588, allocations: 35.97 kB / 1.483 GB, free: 12.46 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: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (99):
 * Single equations (assignments): 98
 * 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.0005179/0.5886, allocations: 271.6 kB / 1.483 GB, free: 12.19 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.5887, allocations: 87.44 kB / 1.484 GB, free: 12.11 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/0.5914, allocations: 1.136 MB / 1.485 GB, free: 10.96 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.5914, allocations: 11.94 kB / 1.485 GB, free: 10.95 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.5914, allocations: 4 kB / 1.485 GB, free: 10.94 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5915, allocations: 3.984 kB / 1.485 GB, free: 10.94 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003707/0.5952, allocations: 1.985 MB / 1.487 GB, free: 8.898 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5952, allocations: 0 / 1.487 GB, free: 8.898 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.5958, allocations: 151.8 kB / 1.487 GB, free: 8.75 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.5963, allocations: 76.78 kB / 1.487 GB, free: 8.672 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.308e-05/0.5964, allocations: 31.98 kB / 1.487 GB, free: 8.641 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.5985, allocations: 1.559 MB / 1.488 GB, free: 6.961 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5985, allocations: 4.062 kB / 1.488 GB, free: 6.957 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.6008, allocations: 1.053 MB / 1.489 GB, free: 5.887 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/0.6013, allocations: 203.1 kB / 1.49 GB, free: 5.688 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.6014, allocations: 23.95 kB / 1.49 GB, free: 5.664 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007178/0.6021, allocations: 67.92 kB / 1.49 GB, free: 5.598 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.6023, allocations: 84.84 kB / 1.49 GB, free: 5.512 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.157e-05/0.6024, allocations: 39.91 kB / 1.49 GB, free: 5.473 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006333/0.603, allocations: 463 kB / 1.49 GB, free: 5.027 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1e-07/0.603, allocations: 0 / 1.49 GB, free: 5.027 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0009264/0.604, allocations: 331.2 kB / 1.491 GB, free: 4.703 MB / 1.186 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of discrete states: 6 (decAng.tNext,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 (99):
 * Single equations (assignments): 92
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 6
 * 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.001997/0.606, allocations: 0.6147 MB / 1.491 GB, free: 4.266 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001883/0.6078, allocations: 0.8311 MB / 1.492 GB, free: 3.426 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6078, allocations: 4 kB / 1.492 GB, free: 3.422 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001068/0.6089, allocations: 0.5121 MB / 1.493 GB, free: 2.898 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.6103, allocations: 308 kB / 1.493 GB, free: 2.621 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.6135, allocations: 1.719 MB / 1.494 GB, free: 0.8633 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/0.6143, allocations: 1.036 MB / 1.495 GB, free: 15.8 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0008926/0.6152, allocations: 266.9 kB / 1.496 GB, free: 15.53 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.6155, allocations: 115.4 kB / 1.496 GB, free: 15.42 MB / 1.201 GB
Notification: Performance of SimCode: time 7.62e-07/0.6155, allocations: 3.938 kB / 1.496 GB, free: 15.41 MB / 1.201 GB
Notification: Performance of Templates: time 0.03092/0.6464, allocations: 16.32 MB / 1.512 GB, free: 15.26 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.9829765195027]