Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001336/0.001336, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001382/0.001382, allocations: 191 kB / 22.11 MB, free: 4.223 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 / 250.8 MB, free: 2.707 MB / 190.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 2.931/2.931, allocations: 495.8 MB / 0.7831 GB, free: 12.24 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-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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle")
translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003175/0.003175, allocations: 79.86 kB / 1.137 GB, free: 12.2 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9597/0.9629, allocations: 173.6 MB / 1.307 GB, free: 33.74 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005178/0.9681, allocations: 4.979 MB / 1.312 GB, free: 30.21 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.1969/1.165, allocations: 149.6 MB / 1.458 GB, free: 1.93 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/1.166, allocations: 23.72 kB / 1.458 GB, free: 1.918 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 0.001093/1.167, allocations: 196 kB / 1.458 GB, free: 1.785 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 0.002937/1.17, allocations: 0.5658 MB / 1.458 GB, free: 1.445 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003314/1.174, allocations: 0.8689 MB / 1.459 GB, free: 0.9609 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.002964/1.177, allocations: 1.443 MB / 1.461 GB, free: 216 kB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001251/1.178, allocations: 415.2 kB / 1.461 GB, free: 15.96 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001421/1.179, allocations: 0.5208 MB / 1.462 GB, free: 15.7 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001376/1.181, allocations: 0.5198 MB / 1.462 GB, free: 15.43 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0004721/1.181, allocations: 118.3 kB / 1.462 GB, free: 15.43 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001692/1.183, allocations: 480 kB / 1.463 GB, free: 15.31 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0006609/1.184, allocations: 311.3 kB / 1.463 GB, free: 15.11 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.001501/1.185, allocations: 0.5684 MB / 1.464 GB, free: 14.73 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.003913/1.189, allocations: 1.67 MB / 1.465 GB, free: 14.02 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/1.189, allocations: 0.8906 kB / 1.465 GB, free: 14.02 MB / 1.154 GB
Notification: Performance of FrontEnd: time 1.894e-06/1.189, allocations: 0 / 1.465 GB, free: 14.02 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 7.821e-05/1.189, allocations: 3.938 kB / 1.465 GB, free: 14.02 MB / 1.154 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 219
 * Number of variables: 219
Notification: Performance of Generate backend data structure: time 0.004883/1.194, allocations: 1.423 MB / 1.467 GB, free: 13.09 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.194, allocations: 7.812 kB / 1.467 GB, free: 13.09 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/1.195, allocations: 189 kB / 1.467 GB, free: 13.03 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/1.197, allocations: 0.7168 MB / 1.467 GB, free: 12.57 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/1.197, allocations: 66.17 kB / 1.468 GB, free: 12.54 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/1.198, allocations: 84.7 kB / 1.468 GB, free: 12.52 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/1.2, allocations: 0.9454 MB / 1.469 GB, free: 12 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/1.2, allocations: 4 kB / 1.469 GB, free: 12 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/1.2, allocations: 40.86 kB / 1.469 GB, free: 11.96 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/1.2, allocations: 21.41 kB / 1.469 GB, free: 11.96 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/1.203, allocations: 1.129 MB / 1.47 GB, free: 11.43 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005946/1.209, allocations: 2.725 MB / 1.472 GB, free: 9.207 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002025/1.211, allocations: 0.7933 MB / 1.473 GB, free: 8.793 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006921/1.211, allocations: 291.5 kB / 1.473 GB, free: 8.641 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/1.211, allocations: 32.11 kB / 1.473 GB, free: 8.625 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/1.213, allocations: 0.5239 MB / 1.474 GB, free: 8.285 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=85): time 3.396e-06/1.213, allocations: 0 / 1.474 GB, free: 8.285 MB / 1.154 GB
Notification: Performance of matching and sorting (n=85): time 0.004084/1.217, allocations: 1.182 MB / 1.475 GB, free: 7.695 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/1.217, allocations: 193.8 kB / 1.475 GB, free: 7.473 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/1.218, allocations: 0.6451 MB / 1.476 GB, free: 7.09 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001242/1.218, allocations: 47.8 kB / 1.476 GB, free: 7.043 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004767/1.219, allocations: 405 kB / 1.476 GB, free: 6.688 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003545/1.219, allocations: 288.1 kB / 1.477 GB, free: 6.438 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004269/1.22, allocations: 175.5 kB / 1.477 GB, free: 6.332 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0002565/1.22, allocations: 389.2 kB / 1.477 GB, free: 5.961 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007249/1.221, allocations: 277.1 kB / 1.477 GB, free: 5.824 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/1.221, allocations: 385.1 kB / 1.478 GB, free: 5.602 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/1.223, allocations: 0.6349 MB / 1.478 GB, free: 5.254 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.223, allocations: 0 / 1.478 GB, free: 5.254 MB / 1.154 GB
Notification: Performance of matching and sorting (n=103) (initialization): time 0.002584/1.225, allocations: 0.8931 MB / 1.479 GB, free: 4.797 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.225, allocations: 10.03 kB / 1.479 GB, free: 4.793 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/1.225, allocations: 0.9688 kB / 1.479 GB, free: 4.793 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006693/1.226, allocations: 80.7 kB / 1.479 GB, free: 4.754 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007956/1.227, allocations: 174.8 kB / 1.48 GB, free: 4.707 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/1.23, allocations: 1.526 MB / 1.481 GB, free: 3.234 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.231, allocations: 102.1 kB / 1.481 GB, free: 3.168 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/1.231, allocations: 40.19 kB / 1.481 GB, free: 3.152 MB / 1.154 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * 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 (101):
 * Single equations (assignments): 100
 * 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.0007527/1.232, allocations: 275.8 kB / 1.481 GB, free: 2.938 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/1.232, allocations: 95.83 kB / 1.482 GB, free: 2.883 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/1.235, allocations: 1.129 MB / 1.483 GB, free: 2.258 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/1.235, allocations: 13.97 kB / 1.483 GB, free: 2.254 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.235, allocations: 0 / 1.483 GB, free: 2.254 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.235, allocations: 5.172 kB / 1.483 GB, free: 2.25 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/1.24, allocations: 2.007 MB / 1.485 GB, free: 0.9414 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.24, allocations: 1.031 kB / 1.485 GB, free: 0.9414 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/1.241, allocations: 159 kB / 1.485 GB, free: 0.9023 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005284/1.241, allocations: 74.25 kB / 1.485 GB, free: 0.8633 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.941e-05/1.241, allocations: 28.06 kB / 1.485 GB, free: 0.8438 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/1.244, allocations: 1.555 MB / 1.486 GB, free: 15.36 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.244, allocations: 0.875 kB / 1.486 GB, free: 15.36 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/1.247, allocations: 1.066 MB / 1.487 GB, free: 14.75 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007622/1.248, allocations: 209 kB / 1.488 GB, free: 14.6 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/1.248, allocations: 21.52 kB / 1.488 GB, free: 14.58 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.249, allocations: 64.06 kB / 1.488 GB, free: 14.55 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/1.249, allocations: 82.31 kB / 1.488 GB, free: 14.5 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.249, allocations: 40.25 kB / 1.488 GB, free: 14.48 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 0.0009802/1.25, allocations: 465.4 kB / 1.488 GB, free: 14.09 MB / 1.17 GB
Notification: Performance of sort global known variables: time 1e-07/1.25, allocations: 0 / 1.488 GB, free: 14.09 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.001489/1.252, allocations: 343.1 kB / 1.489 GB, free: 13.75 MB / 1.17 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 (100):
 * Single equations (assignments): 93
 * 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.002392/1.254, allocations: 0.6079 MB / 1.489 GB, free: 13.32 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.002302/1.257, allocations: 0.8351 MB / 1.49 GB, free: 12.47 MB / 1.17 GB
Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.257, allocations: 4 kB / 1.49 GB, free: 12.46 MB / 1.17 GB
Notification: Performance of simCode: created simulation system equations: time 0.001199/1.258, allocations: 0.5082 MB / 1.49 GB, free: 11.95 MB / 1.17 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/1.26, allocations: 320.5 kB / 1.491 GB, free: 11.66 MB / 1.17 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/1.264, allocations: 1.73 MB / 1.492 GB, free: 9.898 MB / 1.17 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009033/1.265, allocations: 1.032 MB / 1.493 GB, free: 8.836 MB / 1.17 GB
Notification: Performance of simCode: alias equations: time 0.00103/1.266, allocations: 267 kB / 1.494 GB, free: 8.57 MB / 1.17 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/1.266, allocations: 115.3 kB / 1.494 GB, free: 8.457 MB / 1.17 GB
Notification: Performance of SimCode: time 1.012e-06/1.266, allocations: 0 / 1.494 GB, free: 8.457 MB / 1.17 GB
Notification: Performance of Templates: time 0.03564/1.302, allocations: 16.34 MB / 1.51 GB, free: 8.285 MB / 1.186 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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: 10.333034553565085]