Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.000912/0.000912, allocations: 80.39 kB / 21.47 MB, free: 3.02 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.000916/0.000916, allocations: 173.6 kB / 24.87 MB, free: 8.871 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.9513/0.9513, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.874/1.874, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 0.8127 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.445e-05, allocations: 3.188 kB / 0.8127 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00525/0.005274, allocations: 4.588 MB / 0.8172 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1337/0.1389, allocations: 143.8 MB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006382/0.1396, allocations: 23.81 kB / 0.9577 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004877/0.1401, allocations: 198.2 kB / 0.9579 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.1414, allocations: 0.5668 MB / 0.9584 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1429, allocations: 0.8763 MB / 0.9593 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.1441, allocations: 1.444 MB / 0.9607 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005321/0.1446, allocations: 389.8 kB / 0.9611 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008456/0.1454, allocations: 0.764 MB / 0.9618 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.1458, allocations: 374.8 kB / 0.9622 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.1459, allocations: 116 kB / 0.9623 GB, free: 7.82 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000732/0.1466, allocations: 491.4 kB / 0.9628 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.1468, allocations: 291 kB / 0.963 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.1471, allocations: 379 kB / 0.9634 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.1483, allocations: 1.23 MB / 0.9646 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1483, allocations: 0 / 0.9646 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1483, allocations: 0 / 0.9646 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.1483, allocations: 0 / 0.9646 GB, free: 5.449 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001609/0.1499, allocations: 1.511 MB / 0.9661 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1499, allocations: 12.03 kB / 0.9661 GB, free: 3.879 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000807/0.1507, allocations: 315.6 kB / 0.9664 GB, free: 3.57 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007056/0.1514, allocations: 0.7189 MB / 0.9671 GB, free: 2.824 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.1515, allocations: 66.12 kB / 0.9672 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/0.1516, allocations: 88 kB / 0.9672 GB, free: 2.672 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007608/0.1523, allocations: 0.8773 MB / 0.9681 GB, free: 1.699 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.1523, allocations: 3.938 kB / 0.9681 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/0.1524, allocations: 39.98 kB / 0.9681 GB, free: 1.656 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1524, allocations: 23.94 kB / 0.9682 GB, free: 1.633 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006349/0.153, allocations: 0.6689 MB / 0.9688 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.1552, allocations: 2.165 MB / 0.9709 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.1558, allocations: 450.2 kB / 0.9714 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.1559, allocations: 157.5 kB / 0.9715 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/0.156, allocations: 32.61 kB / 0.9715 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003909/0.1564, allocations: 476.1 kB / 0.972 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=87): time 2.324e-06/0.1564, allocations: 4 kB / 0.972 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87): time 0.001435/0.1578, allocations: 0.7649 MB / 0.9728 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.1579, allocations: 200.9 kB / 0.9729 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.1582, allocations: 0.5617 MB / 0.9735 GB, free: 12 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.1583, allocations: 45.7 kB / 0.9735 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.1585, allocations: 451.9 kB / 0.974 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.1587, allocations: 297.4 kB / 0.9742 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.1588, allocations: 184.2 kB / 0.9744 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.159, allocations: 0.5702 MB / 0.975 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1591, allocations: 109.9 kB / 0.9751 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.1594, allocations: 357.7 kB / 0.9754 GB, free: 9.926 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.1598, allocations: 335.1 kB / 0.9757 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1598, allocations: 0 / 0.9757 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0008291/0.1606, allocations: 0.6138 MB / 0.9763 GB, free: 8.961 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1606, allocations: 4 kB / 0.9764 GB, free: 8.957 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1606, allocations: 4 kB / 0.9764 GB, free: 8.953 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004403/0.1611, allocations: 127.6 kB / 0.9765 GB, free: 8.824 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.1614, allocations: 183.6 kB / 0.9767 GB, free: 8.645 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.1626, allocations: 1.867 MB / 0.9785 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.1629, allocations: 83.45 kB / 0.9786 GB, free: 6.578 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.163, allocations: 27.98 kB / 0.9786 GB, free: 6.551 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.0001958/0.1632, allocations: 219.1 kB / 0.9788 GB, free: 6.324 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1633, allocations: 115.4 kB / 0.9789 GB, free: 6.211 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.1644, allocations: 0.7833 MB / 0.9797 GB, free: 5.402 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1644, allocations: 12 kB / 0.9797 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.1644, allocations: 0 / 0.9797 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.1644, allocations: 3.984 kB / 0.9797 GB, free: 5.387 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.166, allocations: 1.46 MB / 0.9811 GB, free: 3.879 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.166, allocations: 0 / 0.9811 GB, free: 3.879 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.1663, allocations: 143.8 kB / 0.9812 GB, free: 3.738 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003506/0.1667, allocations: 115.6 kB / 0.9814 GB, free: 3.621 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.1667, allocations: 27.97 kB / 0.9814 GB, free: 3.594 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.1677, allocations: 1.88 MB / 0.9832 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1677, allocations: 7.984 kB / 0.9832 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008563/0.1686, allocations: 0.814 MB / 0.984 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.1688, allocations: 195 kB / 0.9842 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.1689, allocations: 24.03 kB / 0.9842 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.1691, allocations: 42.53 kB / 0.9843 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.1692, allocations: 76.86 kB / 0.9843 GB, free: 432 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.1692, allocations: 31.92 kB / 0.9844 GB, free: 400 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002198/0.1695, allocations: 358.9 kB / 0.9847 GB, free: 44 kB / 0.9323 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1695, allocations: 0 / 0.9847 GB, free: 44 kB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006575/0.1701, allocations: 339.1 kB / 0.985 GB, free: 15.71 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.001255/0.1714, allocations: 0.6265 MB / 0.9856 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000869/0.1723, allocations: 0.6015 MB / 0.9862 GB, free: 14.63 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1723, allocations: 0 / 0.9862 GB, free: 14.63 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.1726, allocations: 465.1 kB / 0.9867 GB, free: 14.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.1734, allocations: 322.9 kB / 0.987 GB, free: 13.87 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.1753, allocations: 1.478 MB / 0.9884 GB, free: 12.35 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.1754, allocations: 198.9 kB / 0.9886 GB, free: 12.13 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003892/0.1758, allocations: 190.8 kB / 0.9888 GB, free: 11.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005396/0.1764, allocations: 369.9 kB / 0.9892 GB, free: 11.57 MB / 0.948 GB Notification: Performance of SimCode: time 7.22e-07/0.1764, allocations: 0 / 0.9892 GB, free: 11.57 MB / 0.948 GB Notification: Performance of Templates: time 0.02014/0.1965, allocations: 17 MB / 1.006 GB, free: 10.9 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.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.747003600932658]