Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001152/0.001152, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001589/0.001589, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9714/0.9714, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.133/2.133, allocations: 429.5 MB / 0.6743 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.552e-05, allocations: 5.312 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005872/0.005897, allocations: 4.902 MB / 0.8842 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1445/0.1504, allocations: 143.9 MB / 1.025 GB, free: 0.7031 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.1514, allocations: 23.81 kB / 1.025 GB, free: 0.6797 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0007197/0.1522, allocations: 206.1 kB / 1.025 GB, free: 488 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.1541, allocations: 0.5978 MB / 1.025 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.1559, allocations: 0.8803 MB / 1.026 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00166/0.1576, allocations: 1.533 MB / 1.028 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006979/0.1583, allocations: 448.6 kB / 1.028 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.1596, allocations: 0.838 MB / 1.029 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.1601, allocations: 410.8 kB / 1.029 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.1603, allocations: 124 kB / 1.03 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009629/0.1613, allocations: 0.4915 MB / 1.03 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.1615, allocations: 326.9 kB / 1.03 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.1619, allocations: 411 kB / 1.031 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.1638, allocations: 1.308 MB / 1.032 GB, free: 9.102 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1638, allocations: 3.938 kB / 1.032 GB, free: 9.098 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1638, allocations: 0 / 1.032 GB, free: 9.098 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.056e-05/0.1638, allocations: 3.938 kB / 1.032 GB, free: 9.094 MB / 0.9948 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.001966/0.1658, allocations: 1.589 MB / 1.034 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1658, allocations: 11.97 kB / 1.034 GB, free: 7.445 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.1669, allocations: 395.3 kB / 1.034 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009039/0.1678, allocations: 0.718 MB / 1.035 GB, free: 6.312 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.1678, allocations: 74.12 kB / 1.035 GB, free: 6.242 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.843e-05/0.1679, allocations: 108 kB / 1.035 GB, free: 6.137 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009249/0.1689, allocations: 0.9439 MB / 1.036 GB, free: 5.098 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1689, allocations: 0 / 1.036 GB, free: 5.098 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/0.1689, allocations: 44 kB / 1.036 GB, free: 5.055 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.169, allocations: 20 kB / 1.036 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008801/0.1698, allocations: 0.7118 MB / 1.037 GB, free: 4.324 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002604/0.1724, allocations: 2.209 MB / 1.039 GB, free: 2.066 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008735/0.1733, allocations: 0.5205 MB / 1.039 GB, free: 1.531 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.1735, allocations: 163.1 kB / 1.039 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/0.1735, allocations: 28.98 kB / 1.039 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004253/0.174, allocations: 486.7 kB / 1.04 GB, free: 0.8203 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=90): time 2.134e-06/0.174, allocations: 0 / 1.04 GB, free: 0.8203 MB / 0.9948 GB Notification: Performance of matching and sorting (n=90): time 0.001355/0.1753, allocations: 0.7846 MB / 1.041 GB, free: 24 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.1754, allocations: 204.8 kB / 1.041 GB, free: 15.78 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.1758, allocations: 0.55 MB / 1.041 GB, free: 15.21 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.1758, allocations: 53.69 kB / 1.041 GB, free: 15.16 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.1761, allocations: 487.8 kB / 1.042 GB, free: 14.67 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.1763, allocations: 305.4 kB / 1.042 GB, free: 14.37 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.1765, allocations: 196.1 kB / 1.042 GB, free: 14.17 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1767, allocations: 0.5779 MB / 1.043 GB, free: 13.58 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/0.1771, allocations: 109.9 kB / 1.043 GB, free: 13.47 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.1774, allocations: 357.7 kB / 1.043 GB, free: 13.07 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.1778, allocations: 355 kB / 1.044 GB, free: 12.71 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1778, allocations: 4 kB / 1.044 GB, free: 12.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0009681/0.1787, allocations: 0.6254 MB / 1.044 GB, free: 12.07 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1788, allocations: 4 kB / 1.044 GB, free: 12.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.1788, allocations: 8.094 kB / 1.044 GB, free: 12.06 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004668/0.1792, allocations: 127.5 kB / 1.044 GB, free: 11.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.1796, allocations: 183.8 kB / 1.045 GB, free: 11.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.1809, allocations: 1.871 MB / 1.046 GB, free: 9.762 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.1813, allocations: 83.53 kB / 1.047 GB, free: 9.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.1814, allocations: 31.97 kB / 1.047 GB, free: 9.648 MB / 1.01 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 (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.0002981/0.1817, allocations: 219 kB / 1.047 GB, free: 9.422 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.1818, allocations: 111.4 kB / 1.047 GB, free: 9.312 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.1828, allocations: 0.8068 MB / 1.048 GB, free: 8.488 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1828, allocations: 8 kB / 1.048 GB, free: 8.48 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1828, allocations: 4 kB / 1.048 GB, free: 8.477 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.1828, allocations: 7.969 kB / 1.048 GB, free: 8.469 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.1845, allocations: 1.499 MB / 1.049 GB, free: 6.922 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1845, allocations: 0 / 1.049 GB, free: 6.922 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.1848, allocations: 159.7 kB / 1.049 GB, free: 6.766 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000336/0.1852, allocations: 111.6 kB / 1.049 GB, free: 6.652 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.1852, allocations: 31.91 kB / 1.049 GB, free: 6.621 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.1864, allocations: 1.887 MB / 1.051 GB, free: 4.617 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1864, allocations: 0 / 1.051 GB, free: 4.617 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008815/0.1873, allocations: 0.8336 MB / 1.052 GB, free: 3.758 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.1875, allocations: 199.1 kB / 1.052 GB, free: 3.562 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.813e-05/0.1876, allocations: 24 kB / 1.052 GB, free: 3.539 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.1879, allocations: 35.97 kB / 1.052 GB, free: 3.504 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.188, allocations: 88.73 kB / 1.052 GB, free: 3.418 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.188, allocations: 27.97 kB / 1.052 GB, free: 3.391 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002225/0.1882, allocations: 358.9 kB / 1.053 GB, free: 3.047 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.1882, allocations: 0 / 1.053 GB, free: 3.047 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007095/0.1889, allocations: 363 kB / 1.053 GB, free: 2.691 MB / 1.01 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 (101): * Single equations (assignments): 90 * 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.001206/0.1901, allocations: 0.6392 MB / 1.054 GB, free: 2.227 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008827/0.191, allocations: 0.6249 MB / 1.054 GB, free: 1.578 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.191, allocations: 0 / 1.054 GB, free: 1.578 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.1915, allocations: 472.9 kB / 1.055 GB, free: 1.098 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008164/0.1923, allocations: 311.4 kB / 1.055 GB, free: 0.8125 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4114/0.6037, allocations: 1.579 MB / 1.057 GB, free: 75.38 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.6038, allocations: 203.3 kB / 1.057 GB, free: 75.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006119/0.6044, allocations: 191.9 kB / 1.057 GB, free: 75.29 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/0.6049, allocations: 372.8 kB / 1.057 GB, free: 75.23 MB / 1.01 GB Notification: Performance of SimCode: time 2.154e-06/0.6049, allocations: 0 / 1.057 GB, free: 75.23 MB / 1.01 GB Notification: Performance of Templates: time 0.02183/0.6268, allocations: 17.42 MB / 1.074 GB, free: 73.87 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.818870911840349]