Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00104/0.00104, 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.001032/0.001032, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9178/0.9178, allocations: 177.2 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.807/1.807, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.621e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001661/0.001677, allocations: 1.14 MB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.003071, allocations: 1.433 MB / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.003159, allocations: 0 / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.162e-05/0.00321, allocations: 23.67 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.003334, allocations: 57.16 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005438/0.003878, allocations: 292.5 kB / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.004212, allocations: 415.7 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.004383, allocations: 85.41 kB / 0.7904 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.004633, allocations: 251.5 kB / 0.7907 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.004791, allocations: 105.1 kB / 0.7908 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.004838, allocations: 36.84 kB / 0.7908 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.21e-05/0.004921, allocations: 47.98 kB / 0.7909 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.004964, allocations: 64.31 kB / 0.7909 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.546e-05/0.005049, allocations: 99.8 kB / 0.791 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.005313, allocations: 271.8 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.005315, allocations: 0 / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005316, allocations: 0.9062 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.00532, allocations: 0 / 0.7913 GB, free: 8.203 MB / 0.7448 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.0006272/0.005947, allocations: 0.6299 MB / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.005984, allocations: 8.031 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.006093, allocations: 48.75 kB / 0.7919 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.006348, allocations: 243.9 kB / 0.7922 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.006376, allocations: 24.36 kB / 0.7922 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.006408, allocations: 25.97 kB / 0.7922 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.006596, allocations: 146.8 kB / 0.7924 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.006606, allocations: 192 / 0.7924 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.00662, allocations: 4.375 kB / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.00663, allocations: 13.16 kB / 0.7924 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.963e-05/0.00673, allocations: 63.89 kB / 0.7924 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.007355, allocations: 0.5921 MB / 0.793 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.00762, allocations: 135.2 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.007681, allocations: 47.66 kB / 0.7932 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.007691, allocations: 4 kB / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.007832, allocations: 113.7 kB / 0.7933 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.274e-06/0.007834, allocations: 5.141 kB / 0.7933 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0002805/0.008115, allocations: 187.3 kB / 0.7935 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.008149, allocations: 59.41 kB / 0.7936 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.008302, allocations: 265.8 kB / 0.7938 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.008332, allocations: 37.7 kB / 0.7938 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.008417, allocations: 196 kB / 0.794 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.00845, allocations: 49 kB / 0.7941 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.008538, allocations: 83.33 kB / 0.7942 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.008655, allocations: 0.504 MB / 0.7946 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.00879, allocations: 127.4 kB / 0.7948 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.008967, allocations: 295.1 kB / 0.7951 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.009131, allocations: 209.8 kB / 0.7953 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009133, allocations: 1.625 kB / 0.7953 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003518/0.009485, allocations: 390.2 kB / 0.7956 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.009525, allocations: 72.73 kB / 0.7957 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.009532, allocations: 4 kB / 0.7957 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.009546, allocations: 4 kB / 0.7957 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.537e-05/0.009601, allocations: 19.92 kB / 0.7957 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.009608, allocations: 11.42 kB / 0.7957 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.009778, allocations: 63.78 kB / 0.7958 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.0098, allocations: 15.98 kB / 0.7958 GB, free: 3.219 MB / 0.7448 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.817e-05/0.009898, allocations: 183.1 kB / 0.796 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.009924, allocations: 28.36 kB / 0.796 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.009962, allocations: 26.36 kB / 0.796 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.009965, allocations: 4 kB / 0.796 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.009968, allocations: 0.5625 kB / 0.796 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.009972, allocations: 5.344 kB / 0.796 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.01012, allocations: 204.5 kB / 0.7962 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01013, allocations: 3.984 kB / 0.7962 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.01017, allocations: 19.94 kB / 0.7963 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01017, allocations: 0.5312 kB / 0.7963 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01018, allocations: 9.672 kB / 0.7963 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.01018, allocations: 0 / 0.7963 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01018, allocations: 0 / 0.7963 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.01038, allocations: 189.2 kB / 0.7965 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.0104, allocations: 31.78 kB / 0.7965 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.01043, allocations: 4.906 kB / 0.7965 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.01047, allocations: 12 kB / 0.7965 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.01054, allocations: 28.47 kB / 0.7965 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.01056, allocations: 8.516 kB / 0.7965 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.6e-05/0.01065, allocations: 179.1 kB / 0.7967 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01065, allocations: 0.8125 kB / 0.7967 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002017/0.01085, allocations: 63.83 kB / 0.7968 GB, free: 2.176 MB / 0.7448 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.0001127/0.01097, allocations: 121.5 kB / 0.7969 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.01129, allocations: 351.9 kB / 0.7972 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01129, allocations: 0 / 0.7972 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.82e-05/0.01137, allocations: 73.89 kB / 0.7973 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.01156, allocations: 39.91 kB / 0.7973 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.012, allocations: 362.2 kB / 0.7977 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/0.01205, allocations: 88.25 kB / 0.7978 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.58e-05/0.01211, allocations: 21.3 kB / 0.7978 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.01215, allocations: 28.48 kB / 0.7978 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.01216, allocations: 1.062 kB / 0.7978 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.005468/0.01762, allocations: 3.991 MB / 0.8017 GB, free: 13.12 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.020796732977033]