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.001025/0.001025, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001553/0.001553, allocations: 165 kB / 24.16 MB, free: 332 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.9241/0.9241, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.905/1.905, allocations: 377.9 MB / 0.624 GB, free: 8.324 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.092e-06/1.092e-06, allocations: 0 / 0.76 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.541e-05, allocations: 6.172 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001914/0.00193, allocations: 1.638 MB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001141/0.002044, allocations: 35.78 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.002081, allocations: 0 / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.446e-05/0.002176, allocations: 13.61 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.379e-05/0.002209, allocations: 11.47 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.001e-05/0.002299, allocations: 23.97 kB / 0.7617 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.002372, allocations: 41.16 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.002456, allocations: 23.98 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/0.002499, allocations: 35.28 kB / 0.7618 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.002549, allocations: 17.84 kB / 0.7618 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.002565, allocations: 4 kB / 0.7618 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-06/0.002572, allocations: 5.797 kB / 0.7619 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.002606, allocations: 18.83 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.002629, allocations: 21.33 kB / 0.7619 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.245e-05/0.002701, allocations: 43.78 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.002703, allocations: 0.9062 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.71e-07/0.002704, allocations: 0 / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.002706, allocations: 0.6875 kB / 0.7619 GB, free: 4.676 MB / 0.7136 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.0002174/0.002924, allocations: 274.4 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.002957, allocations: 8.031 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.22e-05/0.002979, allocations: 8.938 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.206e-05/0.003071, allocations: 125.6 kB / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.003078, allocations: 8.375 kB / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.003085, allocations: 5.094 kB / 0.7623 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.15e-05/0.003167, allocations: 84.72 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.003172, allocations: 0.6875 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.00318, allocations: 9.531 kB / 0.7624 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.003184, allocations: 384 / 0.7624 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.00321, allocations: 19.88 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.003483, allocations: 0.5025 MB / 0.7629 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.003589, allocations: 170 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.003609, allocations: 84.12 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.003625, allocations: 80.03 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.003653, allocations: 109.8 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.003654, allocations: 0.8438 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.33e-05/0.003697, allocations: 33.69 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.003732, allocations: 128.9 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.522e-05/0.003797, allocations: 126.6 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.003805, allocations: 25.7 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.003846, allocations: 111.9 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.003847, allocations: 0 / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.003873, allocations: 13.72 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.00394, allocations: 322.1 kB / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-06/0.003946, allocations: 4 kB / 0.7641 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.00396, allocations: 22.56 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.003986, allocations: 26.52 kB / 0.7641 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003988, allocations: 0 / 0.7641 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.947e-05/0.004047, allocations: 48.72 kB / 0.7642 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.004057, allocations: 4 kB / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.00406, allocations: 0 / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.004069, allocations: 8 kB / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.845e-05/0.004108, allocations: 11.92 kB / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.00411, allocations: 0 / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.004125, allocations: 3.938 kB / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.00413, allocations: 4 kB / 0.7642 GB, free: 2.148 MB / 0.7136 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 5.575e-05/0.004185, allocations: 189.7 kB / 0.7644 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.00422, allocations: 105 kB / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.004255, allocations: 120.4 kB / 0.7646 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/0.004288, allocations: 176.3 kB / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.341e-05/0.004322, allocations: 179.2 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-05/0.004358, allocations: 184.2 kB / 0.7651 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.004475, allocations: 333.4 kB / 0.7655 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/0.004496, allocations: 104.9 kB / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.004517, allocations: 101 kB / 0.7657 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-05/0.004553, allocations: 188.2 kB / 0.7658 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.004587, allocations: 180.3 kB / 0.766 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-05/0.00462, allocations: 176.3 kB / 0.7662 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.69e-05/0.004667, allocations: 187 kB / 0.7663 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.004865, allocations: 315.7 kB / 0.7667 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.004894, allocations: 108.9 kB / 0.7668 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.004933, allocations: 180.3 kB / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.616e-05/0.00498, allocations: 112.9 kB / 0.767 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.005014, allocations: 176.6 kB / 0.7672 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.005036, allocations: 104.9 kB / 0.7673 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.881e-05/0.005055, allocations: 21.53 kB / 0.7673 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005055, allocations: 0 / 0.7673 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001176/0.005172, allocations: 9.5 kB / 0.7673 GB, free: 14.8 MB / 0.7292 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 6.254e-05/0.005235, allocations: 151.7 kB / 0.7675 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 3.966e-05/0.005274, allocations: 18.17 kB / 0.7675 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.005277, allocations: 4 kB / 0.7675 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.005279, allocations: 3.938 kB / 0.7675 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.005453, allocations: 460.3 kB / 0.7679 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.005655, allocations: 228.4 kB / 0.7682 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.937e-05/0.005684, allocations: 59.34 kB / 0.7682 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.103e-05/0.005695, allocations: 4.562 kB / 0.7682 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.005719, allocations: 51.91 kB / 0.7683 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.00572, allocations: 0 / 0.7683 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.001419/0.007139, allocations: 301.1 kB / 0.7686 GB, free: 13.5 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.6452819518744946]