Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001784/0.001784, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.002151/0.002151, allocations: 193 kB / 22.11 MB, free: 5.152 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.404/1.404, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.221/3.221, allocations: 495.8 MB / 0.783 GB, free: 33.36 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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth")
translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 66.39 kB / 1.137 GB, free: 33.74 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.4417, allocations: 173.6 MB / 1.307 GB, free: 1.883 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.0076/0.4493, allocations: 5.051 MB / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1815/0.6308, allocations: 149.7 MB / 1.458 GB, free: 6.52 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008308/0.6316, allocations: 23.81 kB / 1.458 GB, free: 6.496 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007324/0.6324, allocations: 202.1 kB / 1.458 GB, free: 6.297 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002075/0.6345, allocations: 0.5628 MB / 1.459 GB, free: 5.734 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.6369, allocations: 0.9166 MB / 1.46 GB, free: 4.824 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.002102/0.639, allocations: 1.468 MB / 1.461 GB, free: 3.352 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.64, allocations: 437.4 kB / 1.461 GB, free: 2.895 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.6411, allocations: 0.5295 MB / 1.462 GB, free: 2.363 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008853/0.642, allocations: 0.5446 MB / 1.462 GB, free: 1.816 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002319/0.6422, allocations: 120 kB / 1.463 GB, free: 1.699 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.6433, allocations: 0.4957 MB / 1.463 GB, free: 1.203 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003892/0.6437, allocations: 311 kB / 1.463 GB, free: 0.8984 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.0007358/0.6444, allocations: 0.5907 MB / 1.464 GB, free: 312 kB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.002451/0.6469, allocations: 1.72 MB / 1.466 GB, free: 14.58 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6469, allocations: 0 / 1.466 GB, free: 14.58 MB / 1.17 GB
Notification: Performance of FrontEnd: time 2.465e-06/0.6469, allocations: 4 kB / 1.466 GB, free: 14.57 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 2.437e-05/0.6469, allocations: 0 / 1.466 GB, free: 14.57 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: 226
 * Number of variables: 226
Notification: Performance of Generate backend data structure: time 0.003288/0.6502, allocations: 1.463 MB / 1.467 GB, free: 13.08 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.6502, allocations: 8.922 kB / 1.467 GB, free: 13.07 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009863/0.6512, allocations: 200 kB / 1.467 GB, free: 12.88 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.6526, allocations: 0.7259 MB / 1.468 GB, free: 12.12 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/0.6527, allocations: 66 kB / 1.468 GB, free: 12.06 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.6528, allocations: 84 kB / 1.468 GB, free: 11.98 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.6546, allocations: 0.9769 MB / 1.469 GB, free: 10.96 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.6547, allocations: 3.938 kB / 1.469 GB, free: 10.96 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.69e-05/0.6548, allocations: 40 kB / 1.469 GB, free: 10.92 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.6548, allocations: 20 kB / 1.469 GB, free: 10.9 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.657, allocations: 1.155 MB / 1.47 GB, free: 9.742 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005606/0.6626, allocations: 2.869 MB / 1.473 GB, free: 6.75 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.6649, allocations: 0.8561 MB / 1.474 GB, free: 5.883 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006961/0.6656, allocations: 294.7 kB / 1.474 GB, free: 5.594 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/0.6658, allocations: 32.69 kB / 1.474 GB, free: 5.559 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.6669, allocations: 0.5452 MB / 1.475 GB, free: 4.996 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=88): time 2.825e-06/0.6669, allocations: 0 / 1.475 GB, free: 4.996 MB / 1.17 GB
Notification: Performance of matching and sorting (n=88): time 0.003944/0.6708, allocations: 1.227 MB / 1.476 GB, free: 3.762 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.671, allocations: 192.9 kB / 1.476 GB, free: 3.531 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.6722, allocations: 0.6567 MB / 1.477 GB, free: 2.863 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.6723, allocations: 41.7 kB / 1.477 GB, free: 2.816 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.6727, allocations: 413.2 kB / 1.477 GB, free: 2.406 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.673, allocations: 301.5 kB / 1.477 GB, free: 2.109 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.6733, allocations: 182.5 kB / 1.478 GB, free: 1.922 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002364/0.6735, allocations: 386.8 kB / 1.478 GB, free: 1.535 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.6742, allocations: 293.8 kB / 1.478 GB, free: 1.25 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008104/0.675, allocations: 383.1 kB / 1.479 GB, free: 0.8633 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.6763, allocations: 0.6593 MB / 1.479 GB, free: 196 kB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6763, allocations: 0 / 1.479 GB, free: 196 kB / 1.17 GB
Notification: Performance of matching and sorting (n=106) (initialization): time 0.002378/0.6787, allocations: 0.9234 MB / 1.48 GB, free: 15.25 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6787, allocations: 4 kB / 1.48 GB, free: 15.25 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6787, allocations: 4.094 kB / 1.48 GB, free: 15.25 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006449/0.6794, allocations: 76.78 kB / 1.48 GB, free: 15.17 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007657/0.6801, allocations: 183.7 kB / 1.48 GB, free: 14.99 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.6825, allocations: 1.527 MB / 1.482 GB, free: 13.34 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009991/0.6835, allocations: 111.5 kB / 1.482 GB, free: 13.23 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.6836, allocations: 39.97 kB / 1.482 GB, free: 13.19 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104):
 * Single equations (assignments): 103
 * 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.000612/0.6843, allocations: 267.6 kB / 1.482 GB, free: 12.92 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.6846, allocations: 95.39 kB / 1.482 GB, free: 12.82 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.6876, allocations: 1.203 MB / 1.484 GB, free: 11.61 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.6876, allocations: 8 kB / 1.484 GB, free: 11.6 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.6876, allocations: 0 / 1.484 GB, free: 11.6 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.6876, allocations: 7.969 kB / 1.484 GB, free: 11.59 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.6918, allocations: 2.071 MB / 1.486 GB, free: 9.473 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6918, allocations: 3.984 kB / 1.486 GB, free: 9.469 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006802/0.6924, allocations: 163.8 kB / 1.486 GB, free: 9.309 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/0.6929, allocations: 72.78 kB / 1.486 GB, free: 9.234 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.653e-05/0.693, allocations: 31.97 kB / 1.486 GB, free: 9.203 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.6952, allocations: 1.552 MB / 1.487 GB, free: 7.531 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6952, allocations: 64 / 1.487 GB, free: 7.531 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.6978, allocations: 1.104 MB / 1.488 GB, free: 6.41 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005618/0.6984, allocations: 219 kB / 1.489 GB, free: 6.195 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.6986, allocations: 28 kB / 1.489 GB, free: 6.168 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008081/0.6994, allocations: 68.8 kB / 1.489 GB, free: 6.102 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.6996, allocations: 92.77 kB / 1.489 GB, free: 6.008 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.005e-05/0.6997, allocations: 35.98 kB / 1.489 GB, free: 5.973 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0007234/0.7004, allocations: 475 kB / 1.489 GB, free: 5.516 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.4e-07/0.7004, allocations: 8 kB / 1.489 GB, free: 5.508 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.001037/0.7014, allocations: 355.1 kB / 1.49 GB, free: 5.16 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 (106):
 * Single equations (assignments): 99
 * 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.002038/0.7035, allocations: 0.6235 MB / 1.49 GB, free: 4.711 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.002072/0.7055, allocations: 0.8742 MB / 1.491 GB, free: 3.828 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7055, allocations: 0 / 1.491 GB, free: 3.828 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001102/0.7066, allocations: 0.5274 MB / 1.492 GB, free: 3.289 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.708, allocations: 307.4 kB / 1.492 GB, free: 3.008 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.7115, allocations: 1.778 MB / 1.494 GB, free: 1.191 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/0.7123, allocations: 1.044 MB / 1.495 GB, free: 124 kB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0009181/0.7132, allocations: 279.1 kB / 1.495 GB, free: 15.84 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.7136, allocations: 115.3 kB / 1.495 GB, free: 15.73 MB / 1.201 GB
Notification: Performance of SimCode: time 5.11e-07/0.7136, allocations: 0 / 1.495 GB, free: 15.73 MB / 1.201 GB
Notification: Performance of Templates: time 0.03064/0.7442, allocations: 16.88 MB / 1.512 GB, free: 15.02 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.099374241195619]