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.001057/0.001057, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009343/0.0009343, allocations: 169 kB / 24.28 MB, free: 276 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.8769/0.8769, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.789/1.789, allocations: 377.8 MB / 0.6239 GB, free: 8.527 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.252e-06/1.252e-06, allocations: 0 / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.318e-05, allocations: 5.125 kB / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002069/0.002092, allocations: 1.584 MB / 0.8131 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001124/0.002205, allocations: 31.84 kB / 0.8131 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.002251, allocations: 0 / 0.8131 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.002359, allocations: 13.14 kB / 0.8131 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.173e-05/0.00239, allocations: 3.938 kB / 0.8131 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.002495, allocations: 28.59 kB / 0.8131 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.002585, allocations: 43.84 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.002698, allocations: 24.66 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.655e-05/0.002745, allocations: 23.98 kB / 0.8132 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.0028, allocations: 24.94 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.002822, allocations: 4 kB / 0.8133 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.002831, allocations: 4 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.002873, allocations: 24.78 kB / 0.8133 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.002903, allocations: 11.98 kB / 0.8133 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.64e-05/0.003, allocations: 49.02 kB / 0.8133 GB, free: 184 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003002, allocations: 0 / 0.8133 GB, free: 184 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.81e-07/0.003003, allocations: 3.938 kB / 0.8134 GB, free: 180 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.003007, allocations: 1.531 kB / 0.8134 GB, free: 180 kB / 0.7605 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.0003413/0.003349, allocations: 392.4 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.003384, allocations: 12.03 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.00342, allocations: 8.891 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.003551, allocations: 130 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.003561, allocations: 4.312 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.003573, allocations: 8.375 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.003693, allocations: 93.23 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.003699, allocations: 1.469 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.003709, allocations: 384 / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.003718, allocations: 4.375 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.003762, allocations: 25.8 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.004204, allocations: 0.7928 MB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.747e-05/0.004292, allocations: 265.4 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.004325, allocations: 130.9 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.004349, allocations: 124.7 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.004397, allocations: 156.6 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.004398, allocations: 0 / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.632e-05/0.004454, allocations: 37.58 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.004507, allocations: 172 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.004612, allocations: 181.9 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.00462, allocations: 25.7 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.004697, allocations: 158.6 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.004699, allocations: 0.5312 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.004726, allocations: 27.98 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.004823, allocations: 496.1 kB / 0.8165 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.004835, allocations: 5.969 kB / 0.8165 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.004856, allocations: 31.06 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.857e-05/0.004894, allocations: 35.52 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004896, allocations: 0 / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.025e-05/0.004986, allocations: 51.59 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.005, allocations: 8 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.005005, allocations: 0 / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.005017, allocations: 0 / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.005071, allocations: 8.609 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.005082, allocations: 9.125 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.005101, allocations: 3.938 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.005106, allocations: 3.984 kB / 0.8166 GB, free: 12.58 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 8.294e-05/0.005188, allocations: 284.5 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.005233, allocations: 152.9 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.005276, allocations: 153.1 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.382e-05/0.00533, allocations: 272 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-05/0.00543, allocations: 268.9 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.584e-05/0.005485, allocations: 272 kB / 0.818 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.005654, allocations: 0.5085 MB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.173e-05/0.005686, allocations: 144.9 kB / 0.8186 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.005716, allocations: 150.2 kB / 0.8187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-05/0.005771, allocations: 268.1 kB / 0.819 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.005828, allocations: 268 kB / 0.8193 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.723e-05/0.005886, allocations: 268.1 kB / 0.8195 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.864e-05/0.005944, allocations: 276.9 kB / 0.8198 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.006072, allocations: 443.9 kB / 0.8202 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.006118, allocations: 159.1 kB / 0.8203 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.006182, allocations: 268.1 kB / 0.8206 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.188e-05/0.006244, allocations: 160.8 kB / 0.8208 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.006302, allocations: 264.1 kB / 0.821 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.006336, allocations: 145.2 kB / 0.8211 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.544e-05/0.006391, allocations: 139.2 kB / 0.8213 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006391, allocations: 3.438 kB / 0.8213 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001554/0.006546, allocations: 11.94 kB / 0.8213 GB, free: 7.613 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.0001859/0.006732, allocations: 222.3 kB / 0.8215 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.641e-05/0.006809, allocations: 15.67 kB / 0.8215 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.006811, allocations: 0 / 0.8215 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.006812, allocations: 0 / 0.8215 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.007111, allocations: 0.7069 MB / 0.8222 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.007411, allocations: 273.9 kB / 0.8225 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.797e-05/0.007449, allocations: 63.83 kB / 0.8225 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.339e-05/0.007462, allocations: 4.562 kB / 0.8225 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.007482, allocations: 9.062 kB / 0.8225 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.007482, allocations: 0 / 0.8225 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of Templates: time 0.00175/0.009232, allocations: 282.5 kB / 0.8228 GB, free: 5.996 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.5932870109099895]