Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.001449/0.001449, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001165/0.001165, allocations: 165 kB / 24.16 MB, free: 336 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.9524/0.9524, allocations: 177.1 MB / 204.6 MB, free: 5.289 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.911/1.911, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.213e-05, allocations: 6.312 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001708/0.00173, allocations: 1.122 MB / 0.7611 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.003214, allocations: 1.438 MB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.003322, allocations: 4 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.781e-05/0.00337, allocations: 23.67 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.003507, allocations: 55.75 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.004063, allocations: 289.4 kB / 0.7629 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.004406, allocations: 416.3 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.004557, allocations: 96.27 kB / 0.7633 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.004798, allocations: 247.5 kB / 0.7636 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.004944, allocations: 113.6 kB / 0.7637 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.004986, allocations: 36 kB / 0.7637 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-05/0.005063, allocations: 44 kB / 0.7638 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.005104, allocations: 53.05 kB / 0.7638 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.005194, allocations: 111.7 kB / 0.7639 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.005459, allocations: 267.1 kB / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005462, allocations: 0.5 kB / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.21e-07/0.005463, allocations: 0.9688 kB / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.227e-06/0.005467, allocations: 0 / 0.7642 GB, free: 2.375 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005247/0.005992, allocations: 0.5003 MB / 0.7647 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.006022, allocations: 12.03 kB / 0.7647 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.006079, allocations: 41.92 kB / 0.7647 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.006293, allocations: 213 kB / 0.7649 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.006319, allocations: 24.36 kB / 0.7649 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.006351, allocations: 29.06 kB / 0.765 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.00649, allocations: 147.4 kB / 0.7651 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.006498, allocations: 1.969 kB / 0.7651 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.006511, allocations: 8.375 kB / 0.7651 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.006517, allocations: 8.125 kB / 0.7651 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.445e-05/0.006572, allocations: 39.97 kB / 0.7652 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.007035, allocations: 385 kB / 0.7655 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.007239, allocations: 106.5 kB / 0.7656 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.007273, allocations: 28.86 kB / 0.7657 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.007286, allocations: 11.92 kB / 0.7657 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.007398, allocations: 110 kB / 0.7658 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.007399, allocations: 0 / 0.7658 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0001709/0.00757, allocations: 126.8 kB / 0.7659 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.007604, allocations: 59.34 kB / 0.766 GB, free: 444 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.007715, allocations: 210.6 kB / 0.7662 GB, free: 220 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.007745, allocations: 41.7 kB / 0.7662 GB, free: 172 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.008092, allocations: 134.2 kB / 0.7663 GB, free: 36 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.008139, allocations: 47.73 kB / 0.7664 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.008221, allocations: 73.56 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.008298, allocations: 334.7 kB / 0.7668 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.00839, allocations: 107.4 kB / 0.7669 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.008521, allocations: 256.2 kB / 0.7671 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.008646, allocations: 184.2 kB / 0.7673 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.008649, allocations: 3.938 kB / 0.7673 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002337/0.008883, allocations: 317.1 kB / 0.7676 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.008923, allocations: 69.92 kB / 0.7677 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.008928, allocations: 4.5 kB / 0.7677 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.008941, allocations: 0 / 0.7677 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.319e-05/0.008994, allocations: 23.09 kB / 0.7677 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.009003, allocations: 3.984 kB / 0.7677 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.009159, allocations: 63.8 kB / 0.7677 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.00918, allocations: 15.98 kB / 0.7678 GB, free: 14.42 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.304e-05/0.009273, allocations: 142.2 kB / 0.7679 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.009291, allocations: 15.98 kB / 0.7679 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.00933, allocations: 29.8 kB / 0.7679 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.009333, allocations: 4 kB / 0.7679 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.009335, allocations: 1.156 kB / 0.7679 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.009338, allocations: 0 / 0.7679 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.009454, allocations: 133.7 kB / 0.7681 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009456, allocations: 4.875 kB / 0.7681 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.00949, allocations: 19.98 kB / 0.7681 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.009491, allocations: 1.156 kB / 0.7681 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.009498, allocations: 0 / 0.7681 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.009501, allocations: 4 kB / 0.7681 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.009503, allocations: 3.938 kB / 0.7681 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.009624, allocations: 140 kB / 0.7682 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.00964, allocations: 19.8 kB / 0.7683 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.009659, allocations: 10 kB / 0.7683 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.009697, allocations: 11.98 kB / 0.7683 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.009747, allocations: 31.94 kB / 0.7683 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.009753, allocations: 0 / 0.7683 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.124e-05/0.009794, allocations: 61.73 kB / 0.7684 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009794, allocations: 4.656 kB / 0.7684 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001579/0.009952, allocations: 55.89 kB / 0.7684 GB, free: 13.7 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: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001275/0.01008, allocations: 103.6 kB / 0.7685 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.01031, allocations: 319.9 kB / 0.7688 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.01032, allocations: 4.594 kB / 0.7688 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.397e-05/0.01037, allocations: 51.56 kB / 0.7689 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.01052, allocations: 49.33 kB / 0.7689 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.01091, allocations: 358.1 kB / 0.7693 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.354e-05/0.01095, allocations: 84.27 kB / 0.7693 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.667e-05/0.01101, allocations: 25.28 kB / 0.7694 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.01115, allocations: 111.3 kB / 0.7695 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/0.01115, allocations: 0.7188 kB / 0.7695 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of Templates: time 0.005884/0.01703, allocations: 4.041 MB / 0.7734 GB, free: 8.715 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.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: 5.078370739240199]