Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001326/0.001326, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009324/0.0009324, 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.9746/0.9746, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.776/1.776, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.411e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007123/0.007147, allocations: 5.015 MB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1251/0.1323, allocations: 146.6 MB / 0.9596 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007154/0.133, allocations: 27.81 kB / 0.9596 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.1335, allocations: 202.1 kB / 0.9598 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.1348, allocations: 0.6095 MB / 0.9604 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1362, allocations: 0.888 MB / 0.9613 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.1374, allocations: 1.525 MB / 0.9627 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000555/0.138, allocations: 452.6 kB / 0.9632 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009662/0.1389, allocations: 0.8342 MB / 0.964 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003999/0.1393, allocations: 414.7 kB / 0.9644 GB, free: 4.668 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.1394, allocations: 124 kB / 0.9645 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006631/0.1401, allocations: 0.4916 MB / 0.965 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.1403, allocations: 318.9 kB / 0.9653 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.1406, allocations: 410.9 kB / 0.9657 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.1419, allocations: 1.315 MB / 0.967 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1419, allocations: 0 / 0.967 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1419, allocations: 0 / 0.967 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.1419, allocations: 4 kB / 0.967 GB, free: 2.012 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001658/0.1435, allocations: 1.577 MB / 0.9685 GB, free: 396 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1436, allocations: 12.03 kB / 0.9685 GB, free: 384 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.1446, allocations: 392.5 kB / 0.9689 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00077/0.1454, allocations: 0.7305 MB / 0.9696 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.1454, allocations: 84.98 kB / 0.9697 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.1455, allocations: 100 kB / 0.9698 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.1468, allocations: 1.007 MB / 0.9708 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1468, allocations: 0 / 0.9708 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.1469, allocations: 43.98 kB / 0.9708 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.1469, allocations: 24 kB / 0.9708 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.1478, allocations: 0.8309 MB / 0.9716 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.1504, allocations: 2.333 MB / 0.9739 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.1514, allocations: 0.574 MB / 0.9745 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.1517, allocations: 198.6 kB / 0.9747 GB, free: 9.883 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/0.1517, allocations: 28.98 kB / 0.9747 GB, free: 9.855 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000465/0.1522, allocations: 0.4988 MB / 0.9752 GB, free: 9.309 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 2.004e-06/0.1522, allocations: 0 / 0.9752 GB, free: 9.309 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.0015/0.1537, allocations: 0.8685 MB / 0.976 GB, free: 8.438 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.1538, allocations: 212.8 kB / 0.9762 GB, free: 8.184 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.1542, allocations: 0.5698 MB / 0.9768 GB, free: 7.602 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.1543, allocations: 49.7 kB / 0.9768 GB, free: 7.547 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.1545, allocations: 479.9 kB / 0.9773 GB, free: 7.07 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.1546, allocations: 301.4 kB / 0.9776 GB, free: 6.773 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.155, allocations: 196.2 kB / 0.9778 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1551, allocations: 0.5625 MB / 0.9783 GB, free: 6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.1553, allocations: 141.9 kB / 0.9785 GB, free: 5.863 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.1557, allocations: 393.8 kB / 0.9788 GB, free: 5.422 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.1562, allocations: 407.1 kB / 0.9792 GB, free: 5.012 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1562, allocations: 4 kB / 0.9792 GB, free: 5.008 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0009858/0.1572, allocations: 0.6996 MB / 0.9799 GB, free: 4.297 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1572, allocations: 7.938 kB / 0.9799 GB, free: 4.289 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1572, allocations: 4 kB / 0.9799 GB, free: 4.285 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.1576, allocations: 123.7 kB / 0.98 GB, free: 4.16 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.158, allocations: 195.6 kB / 0.9802 GB, free: 3.969 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.1593, allocations: 1.894 MB / 0.9821 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.1596, allocations: 75.59 kB / 0.9822 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.1597, allocations: 39.97 kB / 0.9822 GB, free: 1.836 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 (109): * Single equations (assignments): 108 * 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.0001959/0.1599, allocations: 223 kB / 0.9824 GB, free: 1.609 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.16, allocations: 119.4 kB / 0.9825 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.1611, allocations: 0.8772 MB / 0.9834 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.1611, allocations: 19.92 kB / 0.9834 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1611, allocations: 0 / 0.9834 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1611, allocations: 3.984 kB / 0.9834 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.1631, allocations: 1.678 MB / 0.985 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1631, allocations: 4 kB / 0.985 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.1634, allocations: 151.7 kB / 0.9852 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003293/0.1637, allocations: 115.6 kB / 0.9853 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.1638, allocations: 31.98 kB / 0.9853 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.1648, allocations: 1.921 MB / 0.9872 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1648, allocations: 0 / 0.9872 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009842/0.1658, allocations: 0.9 MB / 0.9881 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.166, allocations: 203.1 kB / 0.9883 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/0.1661, allocations: 28.06 kB / 0.9883 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.1663, allocations: 41.53 kB / 0.9883 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.1664, allocations: 72.86 kB / 0.9884 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.1665, allocations: 39.97 kB / 0.9884 GB, free: 11.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002729/0.1667, allocations: 379 kB / 0.9888 GB, free: 10.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1667, allocations: 0 / 0.9888 GB, free: 10.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006035/0.1674, allocations: 363 kB / 0.9892 GB, free: 10.46 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 (102): * Single equations (assignments): 91 * 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.00154/0.1689, allocations: 0.6335 MB / 0.9898 GB, free: 10 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.1701, allocations: 0.6836 MB / 0.9904 GB, free: 9.297 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.1701, allocations: 3.938 kB / 0.9904 GB, free: 9.293 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.1708, allocations: 0.5011 MB / 0.9909 GB, free: 8.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.1718, allocations: 313.5 kB / 0.9912 GB, free: 8.488 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.1751, allocations: 1.613 MB / 0.9928 GB, free: 6.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.1753, allocations: 199.1 kB / 0.993 GB, free: 6.625 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006868/0.176, allocations: 274.8 kB / 0.9933 GB, free: 6.352 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.1763, allocations: 116.4 kB / 0.9934 GB, free: 6.238 MB / 0.948 GB Notification: Performance of SimCode: time 8.22e-07/0.1763, allocations: 0 / 0.9934 GB, free: 6.238 MB / 0.948 GB Notification: Performance of Templates: time 0.02613/0.2024, allocations: 16.85 MB / 1.01 GB, free: 5.684 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.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.635770161170512]