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.00132/0.00132, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001422/0.001422, allocations: 162.2 kB / 24.86 MB, free: 9.289 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.9015/0.9015, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.784/1.784, allocations: 377.9 MB / 0.6247 GB, free: 8.383 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.472e-06/1.472e-06, allocations: 0 / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.39e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002903/0.002927, allocations: 1.581 MB / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0001453/0.003073, allocations: 31.84 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.003126, allocations: 1.031 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.00325, allocations: 7.922 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.476e-05/0.003295, allocations: 12.66 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.00341, allocations: 19.97 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.588e-05/0.003506, allocations: 47.83 kB / 0.8144 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.003623, allocations: 21.67 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.003678, allocations: 23.98 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.003748, allocations: 31.89 kB / 0.8145 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.003767, allocations: 4 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.003779, allocations: 5.531 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.003821, allocations: 15.92 kB / 0.8145 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.003852, allocations: 19.92 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.003956, allocations: 47.77 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003958, allocations: 0.5312 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003959, allocations: 1 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.003962, allocations: 0 / 0.8146 GB, free: 15.56 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.0003453/0.004308, allocations: 392.4 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.004342, allocations: 9.625 kB / 0.815 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.004377, allocations: 12.89 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.00451, allocations: 128.5 kB / 0.8151 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.004524, allocations: 12.31 kB / 0.8151 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.004535, allocations: 6.969 kB / 0.8151 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.004657, allocations: 89.23 kB / 0.8152 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.004665, allocations: 192 / 0.8152 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.004673, allocations: 384 / 0.8152 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.00468, allocations: 4.375 kB / 0.8152 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.004722, allocations: 27.86 kB / 0.8153 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.005218, allocations: 0.7665 MB / 0.816 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.621e-05/0.005314, allocations: 270.2 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.005352, allocations: 130.9 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.005385, allocations: 123.8 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.005438, allocations: 162.2 kB / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.005439, allocations: 0 / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.316e-05/0.005502, allocations: 25.7 kB / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.00565, allocations: 170.6 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.005766, allocations: 189.8 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.005774, allocations: 26.2 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.005848, allocations: 159.2 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-06/0.005851, allocations: 4 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.005886, allocations: 20.16 kB / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.006018, allocations: 0.4883 MB / 0.8177 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.006027, allocations: 1.156 kB / 0.8177 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.006054, allocations: 31.05 kB / 0.8177 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/0.006096, allocations: 36.36 kB / 0.8178 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006098, allocations: 0 / 0.8178 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.752e-05/0.006196, allocations: 51.34 kB / 0.8178 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.006211, allocations: 8 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.006217, allocations: 3.984 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.006226, allocations: 0.5 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.006275, allocations: 5.125 kB / 0.8178 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.00628, allocations: 7.938 kB / 0.8178 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.006307, allocations: 0 / 0.8178 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-06/0.00631, allocations: 0.9062 kB / 0.8178 GB, free: 12 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 9.723e-05/0.006407, allocations: 279.7 kB / 0.8181 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.006474, allocations: 153.7 kB / 0.8183 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.00653, allocations: 160.3 kB / 0.8184 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.919e-05/0.006599, allocations: 274.4 kB / 0.8187 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.956e-05/0.006669, allocations: 264.1 kB / 0.8189 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.029e-05/0.006739, allocations: 268 kB / 0.8192 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.006963, allocations: 492.4 kB / 0.8196 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-05/0.007002, allocations: 156.8 kB / 0.8198 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.007039, allocations: 144.9 kB / 0.8199 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.07e-05/0.00711, allocations: 274.8 kB / 0.8202 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/0.007185, allocations: 276 kB / 0.8205 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-05/0.007257, allocations: 264.1 kB / 0.8207 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.632e-05/0.007333, allocations: 268 kB / 0.821 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.007481, allocations: 451.9 kB / 0.8214 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.007534, allocations: 152.8 kB / 0.8215 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.007619, allocations: 268.1 kB / 0.8218 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.00771, allocations: 152.8 kB / 0.8219 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.007791, allocations: 273.5 kB / 0.8222 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.007832, allocations: 149.2 kB / 0.8223 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.644e-05/0.007888, allocations: 135.2 kB / 0.8225 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.007888, allocations: 0 / 0.8225 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002461/0.008134, allocations: 12.44 kB / 0.8225 GB, free: 7.062 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 0.000125/0.008259, allocations: 216.4 kB / 0.8227 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.793e-05/0.008327, allocations: 15.69 kB / 0.8227 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.008329, allocations: 0 / 0.8227 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.008331, allocations: 0.6562 kB / 0.8227 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.008743, allocations: 0.7105 MB / 0.8234 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.009056, allocations: 277 kB / 0.8237 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.009099, allocations: 59.34 kB / 0.8237 GB, free: 5.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.599e-05/0.009115, allocations: 4 kB / 0.8237 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.009153, allocations: 70.19 kB / 0.8238 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of SimCode: time 6.82e-07/0.009154, allocations: 0 / 0.8238 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of Templates: time 0.002283/0.01144, allocations: 292.5 kB / 0.8241 GB, free: 5.379 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.615917271003127]