Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001333/0.001333, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001082/0.001082, allocations: 181 kB / 23.36 MB, free: 1.133 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.9377/0.9377, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.344/2.344, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8385 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.895e-05, allocations: 6.25 kB / 0.8385 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004512/0.004531, allocations: 4.615 MB / 0.843 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1464/0.151, allocations: 146 MB / 0.9856 GB, free: 6.98 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000761/0.1517, allocations: 19.81 kB / 0.9857 GB, free: 6.961 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.1522, allocations: 198.1 kB / 0.9859 GB, free: 6.766 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.1536, allocations: 0.5746 MB / 0.9864 GB, free: 6.188 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.1552, allocations: 0.8763 MB / 0.9873 GB, free: 5.309 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.1564, allocations: 1.463 MB / 0.9887 GB, free: 3.84 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005742/0.157, allocations: 417.7 kB / 0.9891 GB, free: 3.398 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009023/0.1579, allocations: 0.7679 MB / 0.9899 GB, free: 2.629 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.1584, allocations: 386.8 kB / 0.9902 GB, free: 2.25 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.1585, allocations: 112 kB / 0.9903 GB, free: 2.141 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007158/0.1593, allocations: 499.4 kB / 0.9908 GB, free: 1.652 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.1594, allocations: 295 kB / 0.9911 GB, free: 1.363 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.1597, allocations: 375 kB / 0.9914 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.1608, allocations: 1.249 MB / 0.9927 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1608, allocations: 0 / 0.9927 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1608, allocations: 0 / 0.9927 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.1608, allocations: 0 / 0.9927 GB, free: 15.74 MB / 0.9636 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.001325/0.1622, allocations: 1.367 MB / 0.994 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1622, allocations: 12.62 kB / 0.994 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008223/0.163, allocations: 324 kB / 0.9943 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006641/0.1637, allocations: 0.5659 MB / 0.9949 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.1637, allocations: 70.12 kB / 0.9949 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-05/0.1638, allocations: 95.98 kB / 0.995 GB, free: 13.26 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.1645, allocations: 0.868 MB / 0.9959 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.1645, allocations: 4 kB / 0.9959 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.1645, allocations: 36 kB / 0.9959 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.1645, allocations: 20 kB / 0.9959 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.1651, allocations: 0.5713 MB / 0.9965 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.1672, allocations: 1.651 MB / 0.9981 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.1677, allocations: 406.5 kB / 0.9985 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.1678, allocations: 136.6 kB / 0.9986 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.1679, allocations: 32.64 kB / 0.9987 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.1682, allocations: 459 kB / 0.9991 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=87): time 3.156e-06/0.1682, allocations: 0 / 0.9991 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87): time 0.0009707/0.1692, allocations: 0.5537 MB / 0.9996 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.1693, allocations: 200.9 kB / 0.9998 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.1696, allocations: 0.5017 MB / 1 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.1697, allocations: 45.7 kB / 1 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1698, allocations: 334.4 kB / 1.001 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.17, allocations: 289.5 kB / 1.001 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.1701, allocations: 178.4 kB / 1.001 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1702, allocations: 390.6 kB / 1.001 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.1704, allocations: 92.77 kB / 1.002 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.1706, allocations: 315.6 kB / 1.002 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.1709, allocations: 325.2 kB / 1.002 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1709, allocations: 0 / 1.002 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006204/0.1715, allocations: 467 kB / 1.003 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1715, allocations: 7.984 kB / 1.003 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1715, allocations: 0 / 1.003 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003933/0.1719, allocations: 120.7 kB / 1.003 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.1723, allocations: 167.7 kB / 1.003 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.1734, allocations: 1.326 MB / 1.004 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.1737, allocations: 75.55 kB / 1.004 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.1737, allocations: 27.97 kB / 1.004 GB, free: 3.312 MB / 0.9636 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.000179/0.1739, allocations: 167.1 kB / 1.004 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.174, allocations: 79.95 kB / 1.005 GB, free: 3.062 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008122/0.1748, allocations: 0.6106 MB / 1.005 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1748, allocations: 8 kB / 1.005 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1748, allocations: 0 / 1.005 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1748, allocations: 3.984 kB / 1.005 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.1761, allocations: 1.117 MB / 1.006 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1761, allocations: 0 / 1.006 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.1764, allocations: 131.8 kB / 1.006 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/0.1767, allocations: 120.7 kB / 1.006 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.1767, allocations: 19.98 kB / 1.007 GB, free: 0.9922 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008395/0.1775, allocations: 1.317 MB / 1.008 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1775, allocations: 4 kB / 1.008 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.1781, allocations: 0.5712 MB / 1.008 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.1783, allocations: 139.2 kB / 1.008 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.1784, allocations: 24 kB / 1.009 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.1786, allocations: 35.97 kB / 1.009 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.1787, allocations: 73 kB / 1.009 GB, free: 14.73 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.1787, allocations: 23.97 kB / 1.009 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001941/0.1789, allocations: 243.4 kB / 1.009 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1e-07/0.1789, allocations: 4 kB / 1.009 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005971/0.1795, allocations: 339 kB / 1.009 GB, free: 14.13 MB / 0.9792 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 (97): * Single equations (assignments): 86 * 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.001412/0.1809, allocations: 0.7554 MB / 1.01 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006156/0.1816, allocations: 0.5175 MB / 1.01 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.1816, allocations: 8 kB / 1.01 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.1819, allocations: 363 kB / 1.011 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.1825, allocations: 324.4 kB / 1.011 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.1845, allocations: 1.47 MB / 1.013 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.1846, allocations: 198.8 kB / 1.013 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003689/0.185, allocations: 182.8 kB / 1.013 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.1855, allocations: 311 kB / 1.013 GB, free: 10.22 MB / 0.9792 GB Notification: Performance of SimCode: time 1.313e-06/0.1855, allocations: 0 / 1.013 GB, free: 10.22 MB / 0.9792 GB Notification: Performance of Templates: time 0.01928/0.2047, allocations: 16.92 MB / 1.03 GB, free: 9.613 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.749950242694467]