Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 104.7 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 195.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.69 kB / 0.8127 GB, free: 33.34 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2877, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002777/0.2906, allocations: 1.199 MB / 0.951 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2926, allocations: 1.362 MB / 0.9523 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.2928, allocations: 0 / 0.9523 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.765e-05/0.2929, allocations: 11.86 kB / 0.9523 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.2931, allocations: 27.73 kB / 0.9523 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008402/0.294, allocations: 267 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000621/0.2946, allocations: 439.7 kB / 0.953 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.2949, allocations: 120.2 kB / 0.9531 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.2952, allocations: 159.5 kB / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.2954, allocations: 139.4 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-05/0.2955, allocations: 48 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.2956, allocations: 63.97 kB / 0.9535 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.2957, allocations: 63.72 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.2958, allocations: 159.3 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.2963, allocations: 367.4 kB / 0.9541 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2963, allocations: 4 kB / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2963, allocations: 0 / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.2963, allocations: 0 / 0.9541 GB, free: 4.832 MB / 0.7325 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.001084/0.2974, allocations: 0.6188 MB / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.2975, allocations: 12.03 kB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2976, allocations: 32.66 kB / 0.9547 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007859/0.2984, allocations: 327.4 kB / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.2984, allocations: 20.38 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.2985, allocations: 40.11 kB / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.2988, allocations: 165.5 kB / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2988, allocations: 4 kB / 0.9553 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.2988, allocations: 8 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2989, allocations: 4 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.2991, allocations: 115.9 kB / 0.9554 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3001, allocations: 0.6912 MB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.3005, allocations: 166.8 kB / 0.9562 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3007, allocations: 64.84 kB / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.3007, allocations: 3.984 kB / 0.9563 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.301, allocations: 153.1 kB / 0.9564 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.944e-06/0.301, allocations: 0 / 0.9564 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.000431/0.3015, allocations: 215.8 kB / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3015, allocations: 55.34 kB / 0.9567 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.3017, allocations: 219 kB / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.3018, allocations: 37.7 kB / 0.9569 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3019, allocations: 144.4 kB / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.302, allocations: 43.44 kB / 0.9571 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.3021, allocations: 77.67 kB / 0.9572 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3022, allocations: 338.8 kB / 0.9575 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.3024, allocations: 99.95 kB / 0.9576 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.3027, allocations: 170.7 kB / 0.9578 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.303, allocations: 219.5 kB / 0.958 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.303, allocations: 0 / 0.958 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005711/0.3035, allocations: 358.1 kB / 0.9583 GB, free: 200 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.3036, allocations: 67.39 kB / 0.9584 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3036, allocations: 3.938 kB / 0.9584 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3037, allocations: 8.125 kB / 0.9584 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.3037, allocations: 12 kB / 0.9584 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3038, allocations: 7.984 kB / 0.9584 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.3042, allocations: 71.77 kB / 0.9585 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.3042, allocations: 20.05 kB / 0.9585 GB, free: 15.99 MB / 0.7481 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.0001617/0.3044, allocations: 151.5 kB / 0.9586 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.3044, allocations: 23.66 kB / 0.9587 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.3045, allocations: 29.86 kB / 0.9587 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3045, allocations: 0 / 0.9587 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3045, allocations: 0 / 0.9587 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3045, allocations: 0 / 0.9587 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.3048, allocations: 289.5 kB / 0.959 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.3048, allocations: 7.938 kB / 0.959 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.572e-05/0.3049, allocations: 19.92 kB / 0.959 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3049, allocations: 4 kB / 0.959 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3049, allocations: 3.938 kB / 0.959 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.305, allocations: 0 / 0.959 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.305, allocations: 0 / 0.959 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.3052, allocations: 200.8 kB / 0.9592 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.3053, allocations: 104.8 kB / 0.9593 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.3054, allocations: 4 kB / 0.9593 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.3054, allocations: 15.98 kB / 0.9593 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.3055, allocations: 35.89 kB / 0.9593 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3056, allocations: 11.98 kB / 0.9594 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001244/0.3057, allocations: 139.2 kB / 0.9595 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3057, allocations: 0 / 0.9595 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000299/0.306, allocations: 63.84 kB / 0.9596 GB, free: 14.81 MB / 0.7481 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.0001794/0.3062, allocations: 111.2 kB / 0.9597 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00053/0.3067, allocations: 352.3 kB / 0.96 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3067, allocations: 0 / 0.96 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.3069, allocations: 85.45 kB / 0.9601 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.3072, allocations: 44.11 kB / 0.9601 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.3079, allocations: 478 kB / 0.9606 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3083, allocations: 0.7439 MB / 0.9613 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.3084, allocations: 27.42 kB / 0.9613 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of SimCode: time 3.6e-07/0.3084, allocations: 0 / 0.9613 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of Templates: time 0.005868/0.3142, allocations: 3.308 MB / 0.9646 GB, free: 9.617 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches