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.001009/0.001009, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001079/0.001079, allocations: 165 kB / 24.16 MB, free: 332 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 1.039/1.039, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.927/1.927, allocations: 377.9 MB / 0.624 GB, free: 8.328 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.433e-06/1.433e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.369e-05, allocations: 6.172 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004982/0.005006, allocations: 4.664 MB / 0.7646 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1316/0.1366, allocations: 146 MB / 0.9072 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007984/0.1374, allocations: 23.81 kB / 0.9072 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.138, allocations: 198.1 kB / 0.9074 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.1395, allocations: 0.5512 MB / 0.9079 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.1409, allocations: 0.8528 MB / 0.9088 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.1423, allocations: 1.471 MB / 0.9102 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.1428, allocations: 405.8 kB / 0.9106 GB, free: 12 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1438, allocations: 0.7757 MB / 0.9113 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.1443, allocations: 386.9 kB / 0.9117 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.1444, allocations: 112 kB / 0.9118 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009755/0.1454, allocations: 0.5071 MB / 0.9123 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.1456, allocations: 303 kB / 0.9126 GB, free: 9.934 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.1459, allocations: 379 kB / 0.913 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.1475, allocations: 1.245 MB / 0.9142 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1475, allocations: 0 / 0.9142 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1475, allocations: 0 / 0.9142 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.1475, allocations: 0 / 0.9142 GB, free: 8.312 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.001725/0.1492, allocations: 1.375 MB / 0.9155 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1493, allocations: 12.03 kB / 0.9155 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.1503, allocations: 316.1 kB / 0.9158 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.1512, allocations: 0.5784 MB / 0.9164 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.1512, allocations: 78.06 kB / 0.9165 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.1513, allocations: 91.98 kB / 0.9166 GB, free: 5.812 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006813/0.152, allocations: 0.8641 MB / 0.9174 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.152, allocations: 0 / 0.9174 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.152, allocations: 39.98 kB / 0.9174 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.152, allocations: 24 kB / 0.9175 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005724/0.1526, allocations: 0.5713 MB / 0.918 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.1546, allocations: 1.648 MB / 0.9196 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/0.1551, allocations: 418.3 kB / 0.92 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.1552, allocations: 126.8 kB / 0.9201 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.1553, allocations: 32.64 kB / 0.9202 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003527/0.1556, allocations: 455 kB / 0.9206 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=87): time 2.304e-06/0.1556, allocations: 4 kB / 0.9206 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of matching and sorting (n=87): time 0.0009679/0.1566, allocations: 0.5576 MB / 0.9212 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.1567, allocations: 204.8 kB / 0.9214 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.157, allocations: 0.5016 MB / 0.9218 GB, free: 156 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.1571, allocations: 45.7 kB / 0.9219 GB, free: 104 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.1572, allocations: 330.6 kB / 0.9222 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.1574, allocations: 289.5 kB / 0.9225 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1575, allocations: 170.5 kB / 0.9226 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002452/0.1578, allocations: 394.6 kB / 0.923 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1579, allocations: 96.77 kB / 0.9231 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.1581, allocations: 311.6 kB / 0.9234 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.1584, allocations: 325.1 kB / 0.9237 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1584, allocations: 0 / 0.9237 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006197/0.159, allocations: 466.9 kB / 0.9242 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1591, allocations: 7.984 kB / 0.9242 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1591, allocations: 0 / 0.9242 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003999/0.1595, allocations: 128.7 kB / 0.9243 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.1598, allocations: 179.7 kB / 0.9245 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.1609, allocations: 1.312 MB / 0.9257 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.1611, allocations: 83.67 kB / 0.9258 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.1612, allocations: 19.98 kB / 0.9258 GB, free: 11.86 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.0001955/0.1614, allocations: 179.1 kB / 0.926 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-05/0.1615, allocations: 79.92 kB / 0.9261 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008062/0.1623, allocations: 0.6106 MB / 0.9267 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.1623, allocations: 12 kB / 0.9267 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1623, allocations: 0 / 0.9267 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1623, allocations: 7.969 kB / 0.9267 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.1636, allocations: 1.117 MB / 0.9278 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1636, allocations: 0 / 0.9278 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.1639, allocations: 143.8 kB / 0.9279 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003103/0.1642, allocations: 120.7 kB / 0.9281 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.1642, allocations: 19.98 kB / 0.9281 GB, free: 9.508 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000851/0.1651, allocations: 1.336 MB / 0.9294 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1651, allocations: 0 / 0.9294 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/0.1659, allocations: 0.5633 MB / 0.9299 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.166, allocations: 147.1 kB / 0.9301 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.1661, allocations: 20 kB / 0.9301 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1663, allocations: 44 kB / 0.9301 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1664, allocations: 68.86 kB / 0.9302 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.1664, allocations: 19.98 kB / 0.9302 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001944/0.1666, allocations: 247.4 kB / 0.9304 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1666, allocations: 0 / 0.9304 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005771/0.1672, allocations: 339.1 kB / 0.9308 GB, free: 6.625 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.001452/0.1687, allocations: 0.7609 MB / 0.9315 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006016/0.1693, allocations: 0.5175 MB / 0.932 GB, free: 5.609 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.1693, allocations: 4 kB / 0.932 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.1696, allocations: 371.2 kB / 0.9324 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.1702, allocations: 314.4 kB / 0.9327 GB, free: 4.941 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.1721, allocations: 1.472 MB / 0.9341 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.1722, allocations: 194.9 kB / 0.9343 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003983/0.1726, allocations: 186.8 kB / 0.9345 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/0.1731, allocations: 303 kB / 0.9348 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of SimCode: time 9.92e-07/0.1731, allocations: 3.938 kB / 0.9348 GB, free: 2.73 MB / 0.8855 GB Notification: Performance of Templates: time 0.02467/0.1977, allocations: 16.98 MB / 0.9514 GB, free: 2.074 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 -s gbode -gbm=radauIIA3 -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.8609450701624155]