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.001355/0.001355, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001498/0.001498, allocations: 169.3 kB / 24.86 MB, free: 8.836 MB / 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.9311/0.9311, allocations: 177.2 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.813/1.813, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.092e-06/1.092e-06, allocations: 0 / 0.8127 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.366e-05, allocations: 3.812 kB / 0.8127 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004138/0.004151, allocations: 4.608 MB / 0.8172 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1134/0.1176, allocations: 143.8 MB / 0.9577 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006252/0.1182, allocations: 23.81 kB / 0.9577 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.1186, allocations: 198.1 kB / 0.9579 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.1198, allocations: 0.5823 MB / 0.9585 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1211, allocations: 0.8647 MB / 0.9593 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.1224, allocations: 1.463 MB / 0.9608 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004589/0.1228, allocations: 409.8 kB / 0.9612 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000634/0.1235, allocations: 0.7796 MB / 0.9619 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.1238, allocations: 386.8 kB / 0.9623 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.753e-05/0.1239, allocations: 112 kB / 0.9624 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005615/0.1244, allocations: 495.3 kB / 0.9629 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.1246, allocations: 295 kB / 0.9631 GB, free: 6.945 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.1249, allocations: 379 kB / 0.9635 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009553/0.1258, allocations: 1.253 MB / 0.9647 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1258, allocations: 0 / 0.9647 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1258, allocations: 0 / 0.9647 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.1258, allocations: 0 / 0.9647 GB, free: 5.316 MB / 0.9167 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.00138/0.1272, allocations: 1.519 MB / 0.9662 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.1272, allocations: 8.031 kB / 0.9662 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000862/0.1281, allocations: 343.5 kB / 0.9665 GB, free: 3.402 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/0.1287, allocations: 0.715 MB / 0.9672 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.1288, allocations: 70.12 kB / 0.9673 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/0.1289, allocations: 88 kB / 0.9674 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.13, allocations: 0.889 MB / 0.9683 GB, free: 1.523 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.13, allocations: 7.922 kB / 0.9683 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.1301, allocations: 32 kB / 0.9683 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.1301, allocations: 24 kB / 0.9683 GB, free: 1.461 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.1307, allocations: 0.6806 MB / 0.969 GB, free: 0.7773 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.1327, allocations: 2.204 MB / 0.9711 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.1333, allocations: 465 kB / 0.9716 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.1334, allocations: 161.1 kB / 0.9717 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-05/0.1335, allocations: 28.62 kB / 0.9718 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003644/0.1338, allocations: 470.5 kB / 0.9722 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=87): time 1.733e-06/0.1339, allocations: 4 kB / 0.9722 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87): time 0.001202/0.1351, allocations: 0.761 MB / 0.973 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.1351, allocations: 196.9 kB / 0.9731 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.1355, allocations: 0.5578 MB / 0.9737 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.1355, allocations: 49.7 kB / 0.9737 GB, free: 11.72 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.1357, allocations: 459.8 kB / 0.9742 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000386/0.1361, allocations: 297.5 kB / 0.9745 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.1363, allocations: 188.1 kB / 0.9746 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1364, allocations: 0.5663 MB / 0.9752 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.1366, allocations: 105.9 kB / 0.9753 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.1368, allocations: 357.7 kB / 0.9756 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.1372, allocations: 335.1 kB / 0.976 GB, free: 9.359 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1372, allocations: 3.938 kB / 0.976 GB, free: 9.355 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0007886/0.138, allocations: 0.6098 MB / 0.9766 GB, free: 8.734 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.138, allocations: 8 kB / 0.9766 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.138, allocations: 0 / 0.9766 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.1384, allocations: 135.6 kB / 0.9767 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.1387, allocations: 167.8 kB / 0.9769 GB, free: 8.426 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.1399, allocations: 1.879 MB / 0.9787 GB, free: 6.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.1402, allocations: 82.25 kB / 0.9788 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.1402, allocations: 35.97 kB / 0.9788 GB, free: 6.316 MB / 0.9323 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.0001877/0.1404, allocations: 211 kB / 0.979 GB, free: 6.102 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.1405, allocations: 111.5 kB / 0.9791 GB, free: 5.992 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009914/0.1415, allocations: 0.7911 MB / 0.9799 GB, free: 5.176 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.1415, allocations: 11.94 kB / 0.9799 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1415, allocations: 0 / 0.9799 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1415, allocations: 7.984 kB / 0.9799 GB, free: 5.156 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.143, allocations: 1.468 MB / 0.9813 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002485/0.1433, allocations: 3.984 kB / 0.9813 GB, free: 3.637 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.1436, allocations: 139.8 kB / 0.9815 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003357/0.1439, allocations: 123.6 kB / 0.9816 GB, free: 3.375 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.1439, allocations: 23.98 kB / 0.9816 GB, free: 3.352 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009848/0.1449, allocations: 1.895 MB / 0.9835 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1449, allocations: 4 kB / 0.9835 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.1457, allocations: 0.818 MB / 0.9843 GB, free: 500 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.146, allocations: 191.1 kB / 0.9844 GB, free: 308 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.146, allocations: 27.98 kB / 0.9845 GB, free: 280 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.1463, allocations: 35.97 kB / 0.9845 GB, free: 244 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.1463, allocations: 72.81 kB / 0.9846 GB, free: 172 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.1464, allocations: 32.03 kB / 0.9846 GB, free: 140 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002107/0.1466, allocations: 358.9 kB / 0.985 GB, free: 15.79 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1466, allocations: 0 / 0.985 GB, free: 15.79 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005119/0.1471, allocations: 343 kB / 0.9853 GB, free: 15.45 MB / 0.948 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.001105/0.1482, allocations: 0.6327 MB / 0.9859 GB, free: 14.99 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006445/0.1489, allocations: 0.6131 MB / 0.9865 GB, free: 14.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1489, allocations: 4 kB / 0.9865 GB, free: 14.35 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.1492, allocations: 457.1 kB / 0.9869 GB, free: 13.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.1499, allocations: 324.1 kB / 0.9872 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.1519, allocations: 1.49 MB / 0.9887 GB, free: 12.06 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.152, allocations: 194.9 kB / 0.9889 GB, free: 11.85 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003543/0.1523, allocations: 186.8 kB / 0.9891 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/0.1528, allocations: 361.9 kB / 0.9894 GB, free: 11.31 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/0.1528, allocations: 0 / 0.9894 GB, free: 11.31 MB / 0.948 GB Notification: Performance of Templates: time 0.02128/0.1741, allocations: 17.18 MB / 1.006 GB, free: 10.43 MB / 0.9636 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.60226995497942]