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.000875/0.000875, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001035/0.001035, allocations: 169 kB / 23.27 MB, free: 1.219 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.9413/0.9413, allocations: 177.1 MB / 203.7 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] 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.436/2.436, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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=1,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=1,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.545e-06/2.545e-06, allocations: 0 / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.419e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002291/0.002315, allocations: 1.128 MB / 0.8908 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.004305, allocations: 1.415 MB / 0.8922 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.004421, allocations: 4 kB / 0.8922 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.334e-05/0.004484, allocations: 27.67 kB / 0.8922 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.004649, allocations: 55.47 kB / 0.8923 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006713/0.00532, allocations: 291.3 kB / 0.8926 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004395/0.00576, allocations: 415.7 kB / 0.893 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.005959, allocations: 88.78 kB / 0.8931 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.006287, allocations: 247.4 kB / 0.8933 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.006485, allocations: 107.7 kB / 0.8934 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.234e-05/0.006547, allocations: 36 kB / 0.8934 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.006647, allocations: 51.98 kB / 0.8935 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.0067, allocations: 55.77 kB / 0.8935 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.00681, allocations: 111.7 kB / 0.8936 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.007137, allocations: 263.1 kB / 0.8939 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.007139, allocations: 0 / 0.8939 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.42e-07/0.00714, allocations: 4 kB / 0.8939 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.007144, allocations: 0 / 0.8939 GB, free: 5.477 MB / 0.8542 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.0007098/0.007854, allocations: 0.6393 MB / 0.8945 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.007891, allocations: 8.625 kB / 0.8945 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.007976, allocations: 48.75 kB / 0.8946 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.008443, allocations: 236.1 kB / 0.8948 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.008474, allocations: 16.38 kB / 0.8948 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.00852, allocations: 32.38 kB / 0.8948 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.008712, allocations: 138.8 kB / 0.895 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.008721, allocations: 192 / 0.895 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.008738, allocations: 4.375 kB / 0.895 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.008746, allocations: 12.12 kB / 0.895 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.37e-05/0.00884, allocations: 47.95 kB / 0.895 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007604/0.0096, allocations: 0.5506 MB / 0.8956 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.009886, allocations: 127.3 kB / 0.8957 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.009944, allocations: 35.66 kB / 0.8957 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.009957, allocations: 15.88 kB / 0.8957 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.01012, allocations: 118.8 kB / 0.8959 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.764e-06/0.01012, allocations: 0 / 0.8959 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0002983/0.01042, allocations: 165.4 kB / 0.896 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.01045, allocations: 59.39 kB / 0.8961 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.01063, allocations: 253.5 kB / 0.8963 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.01067, allocations: 41.69 kB / 0.8963 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.01079, allocations: 195.5 kB / 0.8965 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.01084, allocations: 51.61 kB / 0.8966 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.01097, allocations: 87.28 kB / 0.8967 GB, free: 2.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01112, allocations: 0.5001 MB / 0.8972 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.01127, allocations: 127.3 kB / 0.8973 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.01149, allocations: 281.9 kB / 0.8975 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.01169, allocations: 189.8 kB / 0.8977 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01169, allocations: 0 / 0.8977 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004603/0.01215, allocations: 374 kB / 0.8981 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.0122, allocations: 75.52 kB / 0.8982 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01221, allocations: 0 / 0.8982 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01222, allocations: 4 kB / 0.8982 GB, free: 0.7422 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.01229, allocations: 19.98 kB / 0.8982 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.0123, allocations: 0 / 0.8982 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.01253, allocations: 63.83 kB / 0.8982 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.01257, allocations: 19.88 kB / 0.8983 GB, free: 0.6406 MB / 0.8542 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.0001328/0.0127, allocations: 182.5 kB / 0.8984 GB, free: 460 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.01274, allocations: 31.84 kB / 0.8985 GB, free: 428 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.0128, allocations: 21.81 kB / 0.8985 GB, free: 408 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.0128, allocations: 7.938 kB / 0.8985 GB, free: 400 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.0128, allocations: 0 / 0.8985 GB, free: 400 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.01281, allocations: 3.984 kB / 0.8985 GB, free: 396 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.01299, allocations: 173.1 kB / 0.8987 GB, free: 196 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01299, allocations: 0 / 0.8987 GB, free: 196 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.01305, allocations: 23.92 kB / 0.8987 GB, free: 172 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01305, allocations: 0 / 0.8987 GB, free: 172 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.01306, allocations: 0 / 0.8987 GB, free: 172 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01307, allocations: 4 kB / 0.8987 GB, free: 168 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01307, allocations: 0 / 0.8987 GB, free: 168 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.01326, allocations: 194.1 kB / 0.8989 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.01328, allocations: 23.8 kB / 0.8989 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.0133, allocations: 12 kB / 0.8989 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.01334, allocations: 11.98 kB / 0.8989 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.01339, allocations: 31.94 kB / 0.8989 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.0134, allocations: 0 / 0.8989 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.346e-05/0.01346, allocations: 180.3 kB / 0.8991 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01346, allocations: 0 / 0.8991 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001698/0.01363, allocations: 67.88 kB / 0.8992 GB, free: 15.63 MB / 0.8698 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.0001019/0.01373, allocations: 112.2 kB / 0.8993 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.01398, allocations: 325.6 kB / 0.8996 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.01398, allocations: 256 / 0.8996 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.162e-05/0.01404, allocations: 69.98 kB / 0.8997 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.01422, allocations: 35.97 kB / 0.8997 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.01456, allocations: 358.7 kB / 0.9 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.731e-05/0.0146, allocations: 80.33 kB / 0.9001 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.343e-05/0.01466, allocations: 25.94 kB / 0.9001 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.0148, allocations: 134.2 kB / 0.9003 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/0.0148, allocations: 0 / 0.9003 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of Templates: time 0.005401/0.0202, allocations: 4.056 MB / 0.9042 GB, free: 10.43 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 240] 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","",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.425468927714974]