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.001503/0.001503, allocations: 76.81 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.001576/0.001576, allocations: 161 kB / 24.17 MB, free: 328 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 1.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.952/1.952, allocations: 377.9 MB / 0.624 GB, free: 8.379 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 2.104e-06/2.104e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.421e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002548/0.002572, allocations: 1.168 MB / 0.7612 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.004642, allocations: 1.442 MB / 0.7626 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.004767, allocations: 4.719 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.102e-05/0.004828, allocations: 23.67 kB / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.005004, allocations: 55.2 kB / 0.7627 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006975/0.005701, allocations: 289.5 kB / 0.763 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004868/0.006188, allocations: 415.1 kB / 0.7634 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.006418, allocations: 95.38 kB / 0.7634 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003429/0.006761, allocations: 248.7 kB / 0.7637 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.006952, allocations: 104.9 kB / 0.7638 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.007007, allocations: 36 kB / 0.7638 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.007124, allocations: 51.98 kB / 0.7639 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.007174, allocations: 56.55 kB / 0.7639 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.007289, allocations: 103.8 kB / 0.764 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.007655, allocations: 271.7 kB / 0.7643 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.007658, allocations: 0 / 0.7643 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.007659, allocations: 0.75 kB / 0.7643 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.007664, allocations: 0 / 0.7643 GB, free: 2.312 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.0006915/0.008356, allocations: 0.5123 MB / 0.7648 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.008395, allocations: 8.031 kB / 0.7648 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/0.008479, allocations: 38.28 kB / 0.7648 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.008778, allocations: 205.1 kB / 0.765 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.008813, allocations: 20.38 kB / 0.765 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.008854, allocations: 24.38 kB / 0.7651 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.009057, allocations: 144.7 kB / 0.7652 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.009067, allocations: 192 / 0.7652 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.009083, allocations: 12.38 kB / 0.7652 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.009093, allocations: 8.125 kB / 0.7652 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.009188, allocations: 45.06 kB / 0.7653 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006683/0.009857, allocations: 393 kB / 0.7656 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.01013, allocations: 103.2 kB / 0.7657 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.01018, allocations: 39.59 kB / 0.7658 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.01019, allocations: 0 / 0.7658 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.01036, allocations: 115.1 kB / 0.7659 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.01036, allocations: 0 / 0.7659 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0002366/0.0106, allocations: 127.9 kB / 0.766 GB, free: 448 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.01064, allocations: 59.39 kB / 0.7661 GB, free: 376 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.0108, allocations: 205.6 kB / 0.7663 GB, free: 160 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.01084, allocations: 37.7 kB / 0.7663 GB, free: 116 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/0.01093, allocations: 140.7 kB / 0.7664 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.01098, allocations: 43.67 kB / 0.7665 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.01109, allocations: 77.62 kB / 0.7665 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.145e-05/0.01118, allocations: 330.8 kB / 0.7669 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.01127, allocations: 111.4 kB / 0.767 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.0114, allocations: 255.3 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.01154, allocations: 186.1 kB / 0.7674 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.01154, allocations: 4.406 kB / 0.7674 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002422/0.01178, allocations: 317.2 kB / 0.7677 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.01183, allocations: 71.39 kB / 0.7678 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01183, allocations: 0 / 0.7678 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.01185, allocations: 4 kB / 0.7678 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.01191, allocations: 22.42 kB / 0.7678 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01191, allocations: 3.938 kB / 0.7678 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.01208, allocations: 63.8 kB / 0.7678 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.0121, allocations: 18.23 kB / 0.7679 GB, free: 14.36 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.196e-05/0.0122, allocations: 131.8 kB / 0.768 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.01222, allocations: 15.98 kB / 0.768 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.01225, allocations: 26.83 kB / 0.768 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01226, allocations: 4 kB / 0.768 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.01226, allocations: 0.9375 kB / 0.768 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01226, allocations: 0 / 0.768 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.01238, allocations: 141.7 kB / 0.7682 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01238, allocations: 2.312 kB / 0.7682 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.01242, allocations: 15.94 kB / 0.7682 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01242, allocations: 0 / 0.7682 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01244, allocations: 15.92 kB / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01244, allocations: 0 / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01244, allocations: 0 / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.01256, allocations: 139.3 kB / 0.7683 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.01258, allocations: 19.8 kB / 0.7684 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.01259, allocations: 8 kB / 0.7684 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.8e-05/0.01263, allocations: 11.98 kB / 0.7684 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.01269, allocations: 31.94 kB / 0.7684 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.01269, allocations: 4 kB / 0.7684 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.228e-05/0.01274, allocations: 63.41 kB / 0.7685 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01274, allocations: 0 / 0.7685 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001601/0.0129, allocations: 59.89 kB / 0.7685 GB, free: 13.63 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.0001242/0.01302, allocations: 99.77 kB / 0.7686 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.01327, allocations: 322.5 kB / 0.7689 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.01327, allocations: 0 / 0.7689 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.547e-05/0.01332, allocations: 53.39 kB / 0.769 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.01349, allocations: 57.64 kB / 0.769 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.0139, allocations: 353.6 kB / 0.7694 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.058e-05/0.01395, allocations: 80.31 kB / 0.7694 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.198e-05/0.01401, allocations: 25.73 kB / 0.7695 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.01417, allocations: 107.3 kB / 0.7696 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of SimCode: time 8.12e-07/0.01417, allocations: 0.75 kB / 0.7696 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of Templates: time 0.005794/0.01996, allocations: 4.037 MB / 0.7735 GB, free: 8.652 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 -s gbode -gbm=radauIIA3 -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.121313067153096]