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.000978/0.000978, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001122/0.001122, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9733/0.9733, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.909/1.909, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 177] 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.593e-06/1.593e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.658e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005114/0.00514, allocations: 4.691 MB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1341/0.1393, allocations: 146.5 MB / 0.9592 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007544/0.14, allocations: 23.81 kB / 0.9592 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005463/0.1406, allocations: 190.2 kB / 0.9594 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.142, allocations: 0.5669 MB / 0.96 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.1436, allocations: 0.8646 MB / 0.9608 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.1449, allocations: 1.452 MB / 0.9622 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.1455, allocations: 385.9 kB / 0.9626 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008567/0.1463, allocations: 0.7367 MB / 0.9633 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.1468, allocations: 406.8 kB / 0.9637 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.147, allocations: 120 kB / 0.9638 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008648/0.1478, allocations: 499.4 kB / 0.9643 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.148, allocations: 310.9 kB / 0.9646 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.1483, allocations: 399 kB / 0.965 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.1497, allocations: 1.265 MB / 0.9662 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1497, allocations: 4 kB / 0.9662 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1498, allocations: 0 / 0.9662 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.1498, allocations: 0 / 0.9662 GB, free: 2.781 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.001672/0.1514, allocations: 1.504 MB / 0.9677 GB, free: 1.23 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1515, allocations: 15.97 kB / 0.9677 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008701/0.1523, allocations: 319.6 kB / 0.968 GB, free: 0.9023 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008245/0.1532, allocations: 0.717 MB / 0.9687 GB, free: 164 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.1532, allocations: 74.11 kB / 0.9688 GB, free: 92 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/0.1533, allocations: 88 kB / 0.9689 GB, free: 4 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1543, allocations: 1.005 MB / 0.9698 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1543, allocations: 4 kB / 0.9698 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.1544, allocations: 32 kB / 0.9699 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.1544, allocations: 24 kB / 0.9699 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008699/0.1553, allocations: 0.7919 MB / 0.9707 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/0.1578, allocations: 2.324 MB / 0.9729 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.1586, allocations: 0.5022 MB / 0.9734 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.1588, allocations: 173.5 kB / 0.9736 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.724e-05/0.1589, allocations: 28.64 kB / 0.9736 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005113/0.1594, allocations: 496.3 kB / 0.9741 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=87): time 1.813e-06/0.1594, allocations: 3.938 kB / 0.9741 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87): time 0.001629/0.161, allocations: 0.8548 MB / 0.9749 GB, free: 9.527 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.1611, allocations: 200.9 kB / 0.9751 GB, free: 9.289 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/0.1616, allocations: 0.5777 MB / 0.9757 GB, free: 8.699 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.1616, allocations: 45.7 kB / 0.9757 GB, free: 8.648 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.1619, allocations: 451.9 kB / 0.9762 GB, free: 8.199 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.1621, allocations: 293.5 kB / 0.9764 GB, free: 7.91 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.1623, allocations: 184.2 kB / 0.9766 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1624, allocations: 0.5586 MB / 0.9772 GB, free: 7.152 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.1627, allocations: 141.9 kB / 0.9773 GB, free: 7.012 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.163, allocations: 389.8 kB / 0.9777 GB, free: 6.582 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.1636, allocations: 403 kB / 0.9781 GB, free: 6.176 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1636, allocations: 4 kB / 0.9781 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001006/0.1646, allocations: 0.684 MB / 0.9787 GB, free: 5.473 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1646, allocations: 8 kB / 0.9787 GB, free: 5.465 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1646, allocations: 0 / 0.9787 GB, free: 5.465 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004591/0.1651, allocations: 127.7 kB / 0.9789 GB, free: 5.336 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.1655, allocations: 183.7 kB / 0.979 GB, free: 5.156 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.1668, allocations: 1.895 MB / 0.9809 GB, free: 3.137 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.1671, allocations: 71.59 kB / 0.9809 GB, free: 3.066 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.1672, allocations: 39.98 kB / 0.981 GB, free: 3.027 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0002097/0.1674, allocations: 227.1 kB / 0.9812 GB, free: 2.793 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.1675, allocations: 115.4 kB / 0.9813 GB, free: 2.68 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.1687, allocations: 0.8419 MB / 0.9821 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1687, allocations: 15.98 kB / 0.9821 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1687, allocations: 0 / 0.9821 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1687, allocations: 3.984 kB / 0.9822 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.1706, allocations: 1.639 MB / 0.9838 GB, free: 104 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1706, allocations: 0 / 0.9838 GB, free: 104 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.1709, allocations: 147.8 kB / 0.9839 GB, free: 15.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003548/0.1713, allocations: 119.5 kB / 0.984 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.1713, allocations: 23.98 kB / 0.984 GB, free: 15.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.1725, allocations: 1.914 MB / 0.9859 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1725, allocations: 8.094 kB / 0.9859 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.1736, allocations: 0.8805 MB / 0.9868 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.1738, allocations: 203.1 kB / 0.987 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.1739, allocations: 20 kB / 0.987 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.1741, allocations: 54.61 kB / 0.987 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/0.1742, allocations: 72.86 kB / 0.9871 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.1743, allocations: 35.97 kB / 0.9871 GB, free: 12.48 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003138/0.1746, allocations: 398.9 kB / 0.9875 GB, free: 12.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1746, allocations: 0 / 0.9875 GB, free: 12.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007054/0.1753, allocations: 343 kB / 0.9878 GB, free: 11.77 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.00119/0.1765, allocations: 0.6307 MB / 0.9885 GB, free: 11.31 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008606/0.1773, allocations: 0.6758 MB / 0.9891 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1773, allocations: 0 / 0.9891 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.1778, allocations: 477 kB / 0.9896 GB, free: 10.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.1785, allocations: 316.6 kB / 0.9899 GB, free: 9.828 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.1807, allocations: 1.517 MB / 0.9914 GB, free: 8.273 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.1809, allocations: 194.9 kB / 0.9915 GB, free: 8.055 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005022/0.1814, allocations: 250.7 kB / 0.9918 GB, free: 7.805 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.1816, allocations: 112.4 kB / 0.9919 GB, free: 7.695 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/0.1816, allocations: 0 / 0.9919 GB, free: 7.695 MB / 0.948 GB Notification: Performance of Templates: time 0.01815/0.1997, allocations: 15.71 MB / 1.007 GB, free: 8.277 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.91141798812896]