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.001358/0.001358, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.00144/0.00144, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.51/1.51, allocations: 177.1 MB / 202.8 MB, free: 9.137 MB / 190.1 MB " [Timeout remaining time 178] 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 2.755/2.755, allocations: 359 MB / 0.6037 GB, free: 14.92 MB / 0.5762 GB " [Timeout remaining time 176] 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=0,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=0,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 6.092e-06/6.092e-06, allocations: 3.984 kB / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.473e-05/4.082e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003988/0.004029, allocations: 1.082 MB / 0.952 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003767/0.007796, allocations: 1.404 MB / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.007996, allocations: 0 / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.008119, allocations: 23.67 kB / 0.9534 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.008415, allocations: 59.53 kB / 0.9535 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.00983, allocations: 297.5 kB / 0.9538 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008886/0.01072, allocations: 411.7 kB / 0.9541 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.01104, allocations: 84.83 kB / 0.9542 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005859/0.01163, allocations: 231.6 kB / 0.9544 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.01201, allocations: 119.6 kB / 0.9546 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.01217, allocations: 48 kB / 0.9546 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.01237, allocations: 59.98 kB / 0.9547 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.01248, allocations: 63.77 kB / 0.9547 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.01274, allocations: 111.8 kB / 0.9548 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.01385, allocations: 0.5297 MB / 0.9553 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.567e-06/0.01385, allocations: 7.938 kB / 0.9554 GB, free: 7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.253e-06/0.01386, allocations: 0 / 0.9554 GB, free: 7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.01387, allocations: 0 / 0.9554 GB, free: 7 MB / 0.8575 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.00171/0.01558, allocations: 0.5394 MB / 0.9559 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.01563, allocations: 8.031 kB / 0.9559 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.01581, allocations: 36.75 kB / 0.9559 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.01703, allocations: 265 kB / 0.9562 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/0.01709, allocations: 20.38 kB / 0.9562 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.01719, allocations: 28.38 kB / 0.9562 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.01774, allocations: 170.1 kB / 0.9564 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.01776, allocations: 192 / 0.9564 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.01779, allocations: 8.375 kB / 0.9564 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.01781, allocations: 7.938 kB / 0.9564 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.01827, allocations: 115.9 kB / 0.9565 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.02003, allocations: 0.5428 MB / 0.957 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007587/0.02079, allocations: 156.7 kB / 0.9572 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.02103, allocations: 64.77 kB / 0.9573 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.02106, allocations: 4 kB / 0.9573 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005398/0.0216, allocations: 137.7 kB / 0.9574 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 2.936e-06/0.0216, allocations: 0 / 0.9574 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0008475/0.02245, allocations: 221.4 kB / 0.9576 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.02252, allocations: 55.34 kB / 0.9577 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.02289, allocations: 215.2 kB / 0.9579 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.023, allocations: 41.69 kB / 0.9579 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.02321, allocations: 144.6 kB / 0.958 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.041e-05/0.0233, allocations: 47.62 kB / 0.9581 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.02357, allocations: 77.67 kB / 0.9582 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002627/0.02383, allocations: 334.8 kB / 0.9585 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/0.02432, allocations: 167.3 kB / 0.9586 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.02491, allocations: 307.3 kB / 0.9589 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006096/0.02552, allocations: 214.4 kB / 0.9591 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.02553, allocations: 0 / 0.9591 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001377/0.0269, allocations: 432.1 kB / 0.9595 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.02702, allocations: 59.53 kB / 0.9596 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.02703, allocations: 11.98 kB / 0.9596 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.02706, allocations: 0 / 0.9596 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.02722, allocations: 23.94 kB / 0.9596 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.02723, allocations: 3.938 kB / 0.9596 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/0.02798, allocations: 79.8 kB / 0.9597 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.02805, allocations: 12 kB / 0.9597 GB, free: 2.207 MB / 0.8575 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.0003153/0.02836, allocations: 159.8 kB / 0.9599 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.02843, allocations: 23.8 kB / 0.9599 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.805e-05/0.02853, allocations: 21.81 kB / 0.9599 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.02853, allocations: 4 kB / 0.9599 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.02854, allocations: 0 / 0.9599 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.02856, allocations: 7.922 kB / 0.9599 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.02897, allocations: 205.1 kB / 0.9601 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.02897, allocations: 4 kB / 0.9601 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.02909, allocations: 12 kB / 0.9601 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.0291, allocations: 4.031 kB / 0.9601 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.02913, allocations: 11.98 kB / 0.9602 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.02914, allocations: 0 / 0.9602 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02914, allocations: 0 / 0.9602 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.0297, allocations: 202.9 kB / 0.9604 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.02976, allocations: 23.8 kB / 0.9604 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.02982, allocations: 4 kB / 0.9604 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.02998, allocations: 15.98 kB / 0.9604 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.03014, allocations: 35.94 kB / 0.9604 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.03018, allocations: 8 kB / 0.9604 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002417/0.03042, allocations: 144.5 kB / 0.9606 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.03042, allocations: 0 / 0.9606 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000551/0.03097, allocations: 63.89 kB / 0.9606 GB, free: 1.219 MB / 0.8575 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.0002864/0.03126, allocations: 115.2 kB / 0.9607 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.03233, allocations: 380 kB / 0.9611 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.03234, allocations: 0 / 0.9611 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.03258, allocations: 67.91 kB / 0.9612 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.03315, allocations: 44.52 kB / 0.9612 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.03435, allocations: 378.6 kB / 0.9616 GB, free: 196 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.03459, allocations: 138.3 kB / 0.9617 GB, free: 40 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.03475, allocations: 29.94 kB / 0.9617 GB, free: 12 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.03489, allocations: 28.55 kB / 0.9618 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of SimCode: time 6.82e-07/0.03489, allocations: 0 / 0.9618 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.01602/0.05092, allocations: 3.741 MB / 0.9654 GB, free: 12.32 MB / 0.8731 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.259651351720095]