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.001456/0.001456, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001657/0.001657, allocations: 161.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.548/1.548, allocations: 177.1 MB / 203.9 MB, free: 5.578 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 2.94/2.94, allocations: 377.8 MB / 0.6232 GB, free: 8.504 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=0,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=0,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.815e-06/2.815e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.36e-05, allocations: 8.641 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002652/0.002686, allocations: 1.091 MB / 0.8119 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002408/0.005094, allocations: 1.401 MB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.005253, allocations: 0 / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.628e-05/0.005339, allocations: 24.23 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.005573, allocations: 52.22 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008763/0.006449, allocations: 284.3 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.007089, allocations: 420.4 kB / 0.814 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.007338, allocations: 81.72 kB / 0.8141 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000436/0.007774, allocations: 231.6 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.00805, allocations: 116.8 kB / 0.8144 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.008158, allocations: 48 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.008294, allocations: 55.97 kB / 0.8145 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.271e-05/0.008387, allocations: 65.33 kB / 0.8146 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.008586, allocations: 119.7 kB / 0.8147 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007863/0.009372, allocations: 0.5219 MB / 0.8152 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.00938, allocations: 4 kB / 0.8152 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/0.009381, allocations: 1.531 kB / 0.8152 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.009394, allocations: 0 / 0.8152 GB, free: 13.63 MB / 0.7761 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.001217/0.01061, allocations: 0.5368 MB / 0.8157 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.01066, allocations: 8.031 kB / 0.8157 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.01082, allocations: 56.73 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000782/0.0116, allocations: 278.8 kB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.01164, allocations: 16.38 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.834e-05/0.01171, allocations: 32.36 kB / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.01208, allocations: 171.4 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.01209, allocations: 2.219 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.01212, allocations: 8.375 kB / 0.8163 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.01213, allocations: 11.92 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.01252, allocations: 108 kB / 0.8164 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.01369, allocations: 0.5441 MB / 0.8169 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.01418, allocations: 156.2 kB / 0.817 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.01431, allocations: 56.84 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.01433, allocations: 4 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003449/0.01468, allocations: 142.8 kB / 0.8172 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.01468, allocations: 0 / 0.8172 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0005641/0.01524, allocations: 226.3 kB / 0.8175 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.0153, allocations: 60.14 kB / 0.8175 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.01557, allocations: 207.5 kB / 0.8177 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.01563, allocations: 42.33 kB / 0.8178 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.01579, allocations: 152.4 kB / 0.8179 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.01586, allocations: 48.92 kB / 0.8179 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.01602, allocations: 77.67 kB / 0.818 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.01622, allocations: 330.8 kB / 0.8183 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.01651, allocations: 165.2 kB / 0.8185 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.0169, allocations: 303.2 kB / 0.8188 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.01726, allocations: 221.3 kB / 0.819 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01726, allocations: 0 / 0.819 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007692/0.01803, allocations: 445 kB / 0.8194 GB, free: 9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-05/0.01811, allocations: 67.39 kB / 0.8195 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01812, allocations: 2.312 kB / 0.8195 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.01814, allocations: 4 kB / 0.8195 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.01824, allocations: 19.92 kB / 0.8195 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.01826, allocations: 11.92 kB / 0.8195 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.01868, allocations: 75.25 kB / 0.8196 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.01872, allocations: 19.98 kB / 0.8196 GB, free: 8.797 MB / 0.7761 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.0001882/0.01891, allocations: 147.8 kB / 0.8197 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.01896, allocations: 28.72 kB / 0.8198 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.889e-05/0.01903, allocations: 25.8 kB / 0.8198 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01904, allocations: 0.5 kB / 0.8198 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.01904, allocations: 0.5625 kB / 0.8198 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.01906, allocations: 3.938 kB / 0.8198 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.01933, allocations: 205.7 kB / 0.82 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01933, allocations: 1.281 kB / 0.82 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.066e-05/0.0194, allocations: 12 kB / 0.82 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.01941, allocations: 4 kB / 0.82 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.01943, allocations: 7.984 kB / 0.82 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01943, allocations: 0.6562 kB / 0.82 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.01943, allocations: 8.75 kB / 0.82 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.0198, allocations: 215.2 kB / 0.8202 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.01984, allocations: 20.77 kB / 0.8203 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.01987, allocations: 8 kB / 0.8203 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.01997, allocations: 12.52 kB / 0.8203 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.02009, allocations: 35.94 kB / 0.8203 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.0201, allocations: 4.656 kB / 0.8203 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001677/0.02027, allocations: 157.3 kB / 0.8205 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02027, allocations: 0 / 0.8205 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003348/0.02061, allocations: 63.84 kB / 0.8205 GB, free: 7.809 MB / 0.7761 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.000222/0.02083, allocations: 127.3 kB / 0.8207 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006431/0.02147, allocations: 370.1 kB / 0.821 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02147, allocations: 0 / 0.821 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.02162, allocations: 67.92 kB / 0.8211 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.02199, allocations: 43.62 kB / 0.8211 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008273/0.02281, allocations: 387.3 kB / 0.8215 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.02298, allocations: 129.3 kB / 0.8216 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.02308, allocations: 28.66 kB / 0.8216 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.02316, allocations: 26.02 kB / 0.8217 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of SimCode: time 4.6e-07/0.02316, allocations: 0 / 0.8217 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of Templates: time 0.009794/0.03296, allocations: 3.77 MB / 0.8253 GB, free: 2.895 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 400] 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.057860199944116]