Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001919/0.001919, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002081/0.002081, allocations: 172.8 kB / 22.46 MB, free: 5.352 MB / 14.72 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.531/1.531, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.936/2.936, allocations: 389 MB / 0.633 GB, free: 0.9609 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.564e-05, allocations: 2.281 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002741/0.002777, allocations: 1.088 MB / 1.001 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.005178, allocations: 1.408 MB / 1.003 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.005359, allocations: 0 / 1.003 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.636e-05/0.005456, allocations: 23.67 kB / 1.003 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.005672, allocations: 51.59 kB / 1.003 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009908/0.006663, allocations: 301.2 kB / 1.003 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006701/0.007333, allocations: 415.7 kB / 1.003 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.007598, allocations: 80.84 kB / 1.003 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.008044, allocations: 239.5 kB / 1.004 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.008326, allocations: 115.6 kB / 1.004 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.008451, allocations: 44 kB / 1.004 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.008596, allocations: 59.98 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.329e-05/0.00868, allocations: 67.75 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.008862, allocations: 115.7 kB / 1.004 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007232/0.009585, allocations: 0.5219 MB / 1.005 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.00959, allocations: 4 kB / 1.005 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.009591, allocations: 4 kB / 1.005 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.139e-05/0.009613, allocations: 0 / 1.005 GB, free: 2.75 MB / 0.9512 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.001331/0.01094, allocations: 0.5355 MB / 1.005 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.01099, allocations: 8.031 kB / 1.005 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.01112, allocations: 28.8 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.01192, allocations: 277.3 kB / 1.005 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.01196, allocations: 16.38 kB / 1.005 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.01203, allocations: 28.38 kB / 1.005 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.01245, allocations: 178 kB / 1.006 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.01246, allocations: 192 / 1.006 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.01248, allocations: 12.31 kB / 1.006 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.01249, allocations: 7.938 kB / 1.006 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.01275, allocations: 111.9 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.0139, allocations: 0.5352 MB / 1.006 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.01438, allocations: 154.7 kB / 1.006 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.0145, allocations: 68.28 kB / 1.006 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.01452, allocations: 4 kB / 1.006 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.01487, allocations: 135.3 kB / 1.007 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.764e-06/0.01487, allocations: 0 / 1.007 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0005351/0.0154, allocations: 223.1 kB / 1.007 GB, free: 328 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.01546, allocations: 59.41 kB / 1.007 GB, free: 256 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.01573, allocations: 218.8 kB / 1.007 GB, free: 24 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.19e-05/0.01582, allocations: 37.7 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.01597, allocations: 144.6 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.01604, allocations: 51.84 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.01623, allocations: 77.67 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.01644, allocations: 334.8 kB / 1.008 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.01672, allocations: 159.3 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.01714, allocations: 307.2 kB / 1.008 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.01749, allocations: 219.7 kB / 1.008 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.0175, allocations: 3.984 kB / 1.008 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007454/0.01824, allocations: 420.1 kB / 1.009 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/0.01832, allocations: 63.39 kB / 1.009 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.01833, allocations: 4 kB / 1.009 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.01835, allocations: 0 / 1.009 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.01844, allocations: 23.94 kB / 1.009 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.01846, allocations: 12.05 kB / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.01892, allocations: 75.81 kB / 1.009 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.01897, allocations: 19.98 kB / 1.009 GB, free: 13.95 MB / 0.9669 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 0.0002236/0.01919, allocations: 156.3 kB / 1.009 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.01925, allocations: 19.86 kB / 1.009 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.562e-05/0.01932, allocations: 29.73 kB / 1.009 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.01933, allocations: 4 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.01934, allocations: 0 / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.01934, allocations: 3.938 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.01963, allocations: 201.2 kB / 1.009 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01963, allocations: 0 / 1.009 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.453e-05/0.01972, allocations: 19.92 kB / 1.009 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01972, allocations: 0 / 1.009 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.01974, allocations: 8 kB / 1.009 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01974, allocations: 7.938 kB / 1.009 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01974, allocations: 0 / 1.009 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.02012, allocations: 203.4 kB / 1.01 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.02016, allocations: 19.86 kB / 1.01 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.02019, allocations: 4 kB / 1.01 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-05/0.02029, allocations: 15.98 kB / 1.01 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.02039, allocations: 31.98 kB / 1.01 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.02041, allocations: 11.98 kB / 1.01 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001631/0.02058, allocations: 148.3 kB / 1.01 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02058, allocations: 0 / 1.01 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003307/0.02091, allocations: 71.88 kB / 1.01 GB, free: 12.96 MB / 0.9669 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.0002337/0.02114, allocations: 107.8 kB / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006195/0.02176, allocations: 374.1 kB / 1.01 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02176, allocations: 0 / 1.01 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.02191, allocations: 71.86 kB / 1.01 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.02225, allocations: 44.16 kB / 1.01 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000798/0.02305, allocations: 374.7 kB / 1.011 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.02319, allocations: 138.2 kB / 1.011 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.166e-05/0.02329, allocations: 21.95 kB / 1.011 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.02336, allocations: 32.48 kB / 1.011 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of SimCode: time 7.32e-07/0.02336, allocations: 0 / 1.011 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.0101/0.03346, allocations: 3.739 MB / 1.015 GB, free: 8.051 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.518264766782522]