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.0009598/0.0009598, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009446/0.0009446, allocations: 161 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.94/0.94, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.848/1.848, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.523e-06/1.523e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.27e-05, allocations: 8.219 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001922/0.001944, allocations: 1.577 MB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000105/0.002049, allocations: 27.86 kB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.002096, allocations: 8.812 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.002224, allocations: 15.86 kB / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.417e-05/0.002258, allocations: 8.547 kB / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.00236, allocations: 17.39 kB / 0.8131 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.128e-05/0.002442, allocations: 47.84 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.00255, allocations: 19.97 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.002607, allocations: 32.03 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.562e-05/0.002662, allocations: 21.25 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.00268, allocations: 7.938 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-06/0.002689, allocations: 4 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.002727, allocations: 16.67 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.002761, allocations: 23.91 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.172e-05/0.002853, allocations: 40.73 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002855, allocations: 0 / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002855, allocations: 0 / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.002859, allocations: 0.6562 kB / 0.8134 GB, free: 15.86 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.0003137/0.003173, allocations: 397.1 kB / 0.8137 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.003211, allocations: 12.03 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.003244, allocations: 14.14 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.003357, allocations: 128.5 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.003368, allocations: 12.31 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.003379, allocations: 6.469 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.003485, allocations: 92.39 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.003493, allocations: 192 / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.003504, allocations: 4.375 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.00351, allocations: 8.312 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.371e-05/0.003554, allocations: 19.92 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.003935, allocations: 0.7898 MB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.00401, allocations: 270.9 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.004041, allocations: 130.9 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.004074, allocations: 123.2 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.004114, allocations: 156.6 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.004115, allocations: 0.9688 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.374e-05/0.004169, allocations: 29.7 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.00422, allocations: 179.3 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.004317, allocations: 185.8 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.004323, allocations: 26.73 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.004389, allocations: 154.7 kB / 0.816 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.004392, allocations: 0 / 0.816 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.004418, allocations: 20.94 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.004537, allocations: 0.4922 MB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.004548, allocations: 4 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.004568, allocations: 27.06 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.621e-05/0.004604, allocations: 40.12 kB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004606, allocations: 0.5312 kB / 0.8166 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.271e-05/0.004699, allocations: 50.33 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.004712, allocations: 8.938 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004716, allocations: 0 / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.004732, allocations: 0.5312 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.501e-05/0.004777, allocations: 8 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.004783, allocations: 5.375 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.004799, allocations: 3.938 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.004805, allocations: 3.984 kB / 0.8166 GB, free: 12.26 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 7.798e-05/0.004883, allocations: 281 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.004927, allocations: 156.8 kB / 0.8171 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.45e-05/0.005011, allocations: 152.4 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.348e-05/0.005065, allocations: 272.6 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.308e-05/0.005118, allocations: 268.1 kB / 0.8177 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.044e-05/0.005168, allocations: 264.8 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.005334, allocations: 0.5076 MB / 0.8185 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.898e-05/0.005363, allocations: 146.5 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.005395, allocations: 156.8 kB / 0.8188 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.005525, allocations: 264.1 kB / 0.819 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/0.005583, allocations: 272.1 kB / 0.8193 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.388e-05/0.005637, allocations: 273.4 kB / 0.8195 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-05/0.00569, allocations: 264.1 kB / 0.8198 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.005808, allocations: 452 kB / 0.8202 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.005849, allocations: 156.8 kB / 0.8204 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.005918, allocations: 272.6 kB / 0.8206 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.946e-05/0.005977, allocations: 153.4 kB / 0.8208 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.006035, allocations: 268 kB / 0.821 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.006061, allocations: 147.1 kB / 0.8212 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.006104, allocations: 139.2 kB / 0.8213 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006104, allocations: 0 / 0.8213 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000144/0.006248, allocations: 11.94 kB / 0.8213 GB, free: 7.293 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.622e-05/0.006345, allocations: 219.2 kB / 0.8215 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.857e-05/0.006413, allocations: 27.03 kB / 0.8215 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006415, allocations: 0 / 0.8215 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.006416, allocations: 0 / 0.8215 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.006698, allocations: 0.7088 MB / 0.8222 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.006973, allocations: 273.3 kB / 0.8225 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.524e-05/0.007009, allocations: 67.28 kB / 0.8226 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.378e-05/0.007022, allocations: 7.984 kB / 0.8226 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.007043, allocations: 9.125 kB / 0.8226 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.007044, allocations: 0 / 0.8226 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.001859/0.008902, allocations: 276.1 kB / 0.8228 GB, free: 5.672 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.8288328857161105]