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.001832/0.001832, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.001967/0.001967, allocations: 157.3 kB / 23.55 MB, free: 0.8633 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 1.575/1.575, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.087/3.087, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.114e-06/2.114e-06, allocations: 0 / 0.8108 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.547e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.00264/0.002675, allocations: 1.112 MB / 0.8119 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.004936, allocations: 1.413 MB / 0.8133 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.005066, allocations: 5.031 kB / 0.8133 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 6.367e-05/0.00513, allocations: 23.67 kB / 0.8133 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.005306, allocations: 49.19 kB / 0.8133 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007848/0.006091, allocations: 295.3 kB / 0.8136 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005572/0.006648, allocations: 412.8 kB / 0.814 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.006874, allocations: 84.83 kB / 0.8141 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.007224, allocations: 232.3 kB / 0.8143 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.007464, allocations: 127.6 kB / 0.8144 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.95e-05/0.007554, allocations: 49.69 kB / 0.8145 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.00768, allocations: 55.94 kB / 0.8145 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.463e-05/0.007765, allocations: 63.75 kB / 0.8146 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.007945, allocations: 123.7 kB / 0.8147 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006704/0.008615, allocations: 0.5141 MB / 0.8152 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.008619, allocations: 1.531 kB / 0.8152 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.543e-06/0.008621, allocations: 0 / 0.8152 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.008628, allocations: 0 / 0.8152 GB, free: 12.44 MB / 0.7292 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.001081/0.009709, allocations: 0.6602 MB / 0.8159 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.009749, allocations: 8.031 kB / 0.8159 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.009892, allocations: 52.75 kB / 0.8159 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009614/0.01085, allocations: 268.6 kB / 0.8162 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.01089, allocations: 21.34 kB / 0.8162 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/0.01095, allocations: 24.38 kB / 0.8162 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.01129, allocations: 172.2 kB / 0.8164 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.0113, allocations: 192 / 0.8164 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.01132, allocations: 8.375 kB / 0.8164 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01133, allocations: 7.938 kB / 0.8164 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.01157, allocations: 118.5 kB / 0.8165 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.01271, allocations: 0.6497 MB / 0.8171 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.01316, allocations: 171.2 kB / 0.8173 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.01329, allocations: 72.19 kB / 0.8174 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.01331, allocations: 4.656 kB / 0.8174 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.01358, allocations: 141.5 kB / 0.8175 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.01358, allocations: 1.656 kB / 0.8175 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0005369/0.01412, allocations: 231.8 kB / 0.8177 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.01418, allocations: 59.34 kB / 0.8178 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.0145, allocations: 306.1 kB / 0.8181 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.01456, allocations: 42.19 kB / 0.8181 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.01475, allocations: 203.2 kB / 0.8183 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.01482, allocations: 60.22 kB / 0.8184 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.015, allocations: 100.1 kB / 0.8185 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003049/0.01531, allocations: 0.5118 MB / 0.819 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.01561, allocations: 184.5 kB / 0.8192 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.01606, allocations: 353 kB / 0.8195 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.01642, allocations: 243.1 kB / 0.8197 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.01642, allocations: 0 / 0.8197 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007796/0.0172, allocations: 468.1 kB / 0.8202 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.393e-05/0.01727, allocations: 67.39 kB / 0.8202 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.01728, allocations: 4.906 kB / 0.8202 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.0173, allocations: 0 / 0.8202 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.01738, allocations: 16.78 kB / 0.8203 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.0174, allocations: 7.938 kB / 0.8203 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.01773, allocations: 70 kB / 0.8203 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.01777, allocations: 16 kB / 0.8203 GB, free: 6.848 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 0.0002145/0.01798, allocations: 209.3 kB / 0.8205 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.01803, allocations: 23.91 kB / 0.8206 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.0181, allocations: 21.81 kB / 0.8206 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.01811, allocations: 11.92 kB / 0.8206 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.01811, allocations: 0 / 0.8206 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.01812, allocations: 3.938 kB / 0.8206 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.01842, allocations: 242 kB / 0.8208 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01843, allocations: 0 / 0.8208 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.01849, allocations: 19.92 kB / 0.8208 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.0185, allocations: 4 kB / 0.8209 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.01851, allocations: 4.5 kB / 0.8209 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.01851, allocations: 0.5312 kB / 0.8209 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.01852, allocations: 5.344 kB / 0.8209 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.0189, allocations: 226.5 kB / 0.8211 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.01893, allocations: 15.84 kB / 0.8211 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.01897, allocations: 8 kB / 0.8211 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.01905, allocations: 13.05 kB / 0.8211 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.01915, allocations: 31.94 kB / 0.8211 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.01917, allocations: 12.66 kB / 0.8212 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002003/0.01937, allocations: 204 kB / 0.8214 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01937, allocations: 0.5312 kB / 0.8214 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003096/0.01968, allocations: 67.83 kB / 0.8214 GB, free: 5.684 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.000216/0.0199, allocations: 116.4 kB / 0.8215 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006821/0.02058, allocations: 439.4 kB / 0.8219 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02059, allocations: 0 / 0.8219 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.02075, allocations: 87.59 kB / 0.822 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.02106, allocations: 38.59 kB / 0.8221 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007607/0.02182, allocations: 400.5 kB / 0.8224 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.02197, allocations: 133.5 kB / 0.8226 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.592e-05/0.02205, allocations: 24.91 kB / 0.8226 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.02213, allocations: 30.38 kB / 0.8226 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.02213, allocations: 0 / 0.8226 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of Templates: time 0.009457/0.03158, allocations: 3.768 MB / 0.8263 GB, free: 0.6836 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.132597042946145]