Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.0008802/0.0008802, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009113/0.0009113, allocations: 181 kB / 24.09 MB, free: 420 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.8855/0.8855, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.762/1.762, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.902e-05, allocations: 2.312 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00192/0.001939, allocations: 1.575 MB / 0.8135 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 9.915e-05/0.002038, allocations: 35.84 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.002081, allocations: 0.7812 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.002184, allocations: 7.922 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.048e-05/0.002214, allocations: 9.562 kB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 8.89e-05/0.002303, allocations: 19.97 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.119e-05/0.002374, allocations: 51.83 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.002463, allocations: 19.98 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.002505, allocations: 29.5 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.002556, allocations: 23.91 kB / 0.8137 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.002572, allocations: 7.984 kB / 0.8137 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.002579, allocations: 4 kB / 0.8137 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.002613, allocations: 20.7 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.002635, allocations: 12 kB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.247e-05/0.002707, allocations: 48.45 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.002709, allocations: 4 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.32e-07/0.00271, allocations: 1.594 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.615e-06/0.002713, allocations: 0 / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002656/0.002978, allocations: 396.4 kB / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.003009, allocations: 8.031 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.003034, allocations: 15.45 kB / 0.8142 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.033e-05/0.003124, allocations: 124.6 kB / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.003132, allocations: 4.312 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.003142, allocations: 16.31 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.329e-05/0.003225, allocations: 87.67 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.003231, allocations: 192 / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.003237, allocations: 384 / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.003242, allocations: 4.906 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.453e-05/0.003266, allocations: 20.58 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.003604, allocations: 0.7705 MB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.925e-05/0.003673, allocations: 269.5 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.003701, allocations: 132.5 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.003726, allocations: 123.2 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.003765, allocations: 164.5 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.003766, allocations: 0 / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.061e-05/0.003807, allocations: 26.27 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.003854, allocations: 171.2 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.003942, allocations: 190.1 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.003949, allocations: 26.48 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.004011, allocations: 154.7 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.004012, allocations: 1.156 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.004036, allocations: 23.36 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.004145, allocations: 0.4922 MB / 0.8169 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-06/0.004152, allocations: 1.375 kB / 0.8169 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/0.004171, allocations: 31 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.004205, allocations: 36.8 kB / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.004207, allocations: 0 / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.067e-05/0.004278, allocations: 50.42 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.004288, allocations: 8 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.004292, allocations: 0 / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.004301, allocations: 2.219 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.226e-05/0.004343, allocations: 7.938 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.004346, allocations: 4 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.004363, allocations: 4 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-06/0.004365, allocations: 0 / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003421/0.004707, allocations: 282.5 kB / 0.8173 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.004747, allocations: 156.8 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.004786, allocations: 152.3 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.665e-05/0.004833, allocations: 264.1 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-05/0.004881, allocations: 272 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-05/0.004931, allocations: 272.1 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.005083, allocations: 492.5 kB / 0.8189 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-05/0.005112, allocations: 158.4 kB / 0.819 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.00514, allocations: 144.9 kB / 0.8192 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.742e-05/0.005187, allocations: 268 kB / 0.8194 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.005237, allocations: 268.1 kB / 0.8197 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.886e-05/0.005286, allocations: 272.6 kB / 0.8199 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.848e-05/0.005334, allocations: 272 kB / 0.8202 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.005437, allocations: 448.5 kB / 0.8206 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.005472, allocations: 148.8 kB / 0.8208 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.005529, allocations: 276.6 kB / 0.821 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.005583, allocations: 149.4 kB / 0.8212 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.005635, allocations: 269.5 kB / 0.8214 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.005665, allocations: 153.2 kB / 0.8216 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.005706, allocations: 139.2 kB / 0.8217 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005706, allocations: 0 / 0.8217 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001385/0.005844, allocations: 12.62 kB / 0.8217 GB, free: 7.082 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.065e-05/0.005935, allocations: 215.5 kB / 0.8219 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.624e-05/0.005981, allocations: 16.77 kB / 0.8219 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.005983, allocations: 0 / 0.8219 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.005985, allocations: 3.938 kB / 0.8219 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.006252, allocations: 0.7107 MB / 0.8226 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002169/0.006469, allocations: 273 kB / 0.8229 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.918e-05/0.006498, allocations: 63.33 kB / 0.823 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.2e-05/0.00651, allocations: 4 kB / 0.823 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.006538, allocations: 66.2 kB / 0.823 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.006539, allocations: 0 / 0.823 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of Templates: time 0.001445/0.007984, allocations: 296.9 kB / 0.8233 GB, free: 5.398 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.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: 4.539336587302387]