Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8975/0.8975, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.918/1.918, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.296e-05, allocations: 2.312 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004562/0.004575, allocations: 4.629 MB / 0.7645 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1305/0.1351, allocations: 146 MB / 0.9071 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008468/0.1359, allocations: 27.81 kB / 0.9071 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.1365, allocations: 194.2 kB / 0.9073 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.1379, allocations: 0.5785 MB / 0.9079 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.1396, allocations: 0.8763 MB / 0.9087 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.1406, allocations: 1.463 MB / 0.9101 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.1411, allocations: 417.7 kB / 0.9105 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006443/0.1418, allocations: 0.7679 MB / 0.9113 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.1421, allocations: 386.8 kB / 0.9117 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.1422, allocations: 112 kB / 0.9118 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005617/0.1428, allocations: 495.4 kB / 0.9122 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.143, allocations: 299 kB / 0.9125 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.1432, allocations: 375 kB / 0.9129 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.1442, allocations: 1.249 MB / 0.9141 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1442, allocations: 0 / 0.9141 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1442, allocations: 0 / 0.9141 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.1442, allocations: 0 / 0.9141 GB, free: 8.406 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001289/0.1455, allocations: 1.375 MB / 0.9154 GB, free: 7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.1455, allocations: 8.031 kB / 0.9155 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007879/0.1463, allocations: 312.1 kB / 0.9158 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006343/0.147, allocations: 0.5901 MB / 0.9163 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.147, allocations: 66.12 kB / 0.9164 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/0.1471, allocations: 96 kB / 0.9165 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007869/0.1479, allocations: 0.868 MB / 0.9173 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1479, allocations: 0 / 0.9173 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.543e-05/0.1479, allocations: 39.98 kB / 0.9174 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.1479, allocations: 20 kB / 0.9174 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005343/0.1485, allocations: 0.5713 MB / 0.9179 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.1503, allocations: 1.651 MB / 0.9196 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.1508, allocations: 410.5 kB / 0.92 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.1509, allocations: 136.6 kB / 0.9201 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.1509, allocations: 24.64 kB / 0.9201 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.1513, allocations: 455 kB / 0.9205 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=87): time 1.763e-06/0.1513, allocations: 0 / 0.9205 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of matching and sorting (n=87): time 0.0009318/0.1522, allocations: 0.5615 MB / 0.9211 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.1523, allocations: 200.9 kB / 0.9213 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.1526, allocations: 0.5093 MB / 0.9218 GB, free: 256 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.1527, allocations: 49.7 kB / 0.9218 GB, free: 200 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1528, allocations: 322.5 kB / 0.9221 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.1529, allocations: 293.4 kB / 0.9224 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.1531, allocations: 170.5 kB / 0.9226 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1532, allocations: 394.6 kB / 0.923 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1533, allocations: 92.77 kB / 0.923 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.1535, allocations: 315.6 kB / 0.9233 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.154, allocations: 321.2 kB / 0.9236 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.154, allocations: 0 / 0.9236 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0005961/0.1546, allocations: 463 kB / 0.9241 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1546, allocations: 8 kB / 0.9241 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1546, allocations: 0 / 0.9241 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003818/0.155, allocations: 128.7 kB / 0.9242 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.1553, allocations: 171.7 kB / 0.9244 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009539/0.1563, allocations: 1.306 MB / 0.9257 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.1565, allocations: 83.48 kB / 0.9257 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.1565, allocations: 27.97 kB / 0.9258 GB, free: 11.97 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0001747/0.1567, allocations: 171.1 kB / 0.9259 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.1568, allocations: 80.02 kB / 0.926 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000769/0.1576, allocations: 0.6145 MB / 0.9266 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1576, allocations: 16 kB / 0.9266 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1576, allocations: 0 / 0.9266 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1576, allocations: 3.984 kB / 0.9266 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.1588, allocations: 1.117 MB / 0.9277 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1588, allocations: 7.922 kB / 0.9277 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.1591, allocations: 135.8 kB / 0.9279 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002892/0.1594, allocations: 108.7 kB / 0.928 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.1594, allocations: 19.98 kB / 0.928 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000817/0.1602, allocations: 1.332 MB / 0.9293 GB, free: 8.207 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1602, allocations: 8.094 kB / 0.9293 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.1608, allocations: 0.5594 MB / 0.9298 GB, free: 7.621 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.161, allocations: 151.1 kB / 0.93 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.161, allocations: 16 kB / 0.93 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.1612, allocations: 54.3 kB / 0.93 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.1613, allocations: 64.86 kB / 0.9301 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.1614, allocations: 23.98 kB / 0.9301 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001738/0.1615, allocations: 243.4 kB / 0.9304 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9e-08/0.1615, allocations: 0 / 0.9304 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006614/0.1622, allocations: 335.1 kB / 0.9307 GB, free: 6.754 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00147/0.1637, allocations: 0.7641 MB / 0.9314 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005721/0.1642, allocations: 0.5098 MB / 0.9319 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.1642, allocations: 4 kB / 0.9319 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.1645, allocations: 379.1 kB / 0.9323 GB, free: 5.348 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.1651, allocations: 312.7 kB / 0.9326 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.1669, allocations: 1.479 MB / 0.934 GB, free: 3.547 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.167, allocations: 194.9 kB / 0.9342 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003459/0.1674, allocations: 186.8 kB / 0.9344 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004738/0.1679, allocations: 311 kB / 0.9347 GB, free: 2.844 MB / 0.8855 GB Notification: Performance of SimCode: time 5.91e-07/0.1679, allocations: 0 / 0.9347 GB, free: 2.844 MB / 0.8855 GB Notification: Performance of Templates: time 0.01878/0.1866, allocations: 16.96 MB / 0.9513 GB, free: 2.207 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.612249375320971]