Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noSenZon.VOccZonMin_flow|noSenZon.VZonAbsMin_flow|noSenZon.VZonDesMin_flow|noSenZon.VOccMin_flow|noSenZon.VAreMin_flow|noSenZon.VMin_flow|noSenZon.VCooMax_flow|winSenZon.u1Win|winSenZon.VOccZonMin_flow|winSenZon.VZonAbsMin_flow|winSenZon.VZonDesMin_flow|occSenZon.u1Occ|occSenZon.VOccZonMin_flow|occSenZon.VZonAbsMin_flow|occSenZon.VZonDesMin_flow|co2SenZon.uOpeMod|co2SenZon.ppmCO2|co2SenZon.ppmCO2Set|co2SenZon.VOccZonMin_flow|co2SenZon.VZonAbsMin_flow|co2SenZon.VZonDesMin_flow|co2SenZonParFan.uOpeMod|co2SenZonParFan.ppmCO2|co2SenZonParFan.ppmCO2Set|co2SenZonParFan.VParFan_flow|co2SenZonParFan.VOccZonMin_flow|co2SenZonParFan.VZonAbsMin_flow|co2SenZonParFan.VZonDesMin_flow|co2SenZonParFan.uZonSta|co2SenSZVAV.uOpeMod|co2SenSZVAV.ppmCO2|co2SenSZVAV.ppmCO2Set|co2SenSZVAV.VZonAbsMin_flow|co2SenSZVAV.VZonDesMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints") translateModel(Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noSenZon.VOccZonMin_flow|noSenZon.VZonAbsMin_flow|noSenZon.VZonDesMin_flow|noSenZon.VOccMin_flow|noSenZon.VAreMin_flow|noSenZon.VMin_flow|noSenZon.VCooMax_flow|winSenZon.u1Win|winSenZon.VOccZonMin_flow|winSenZon.VZonAbsMin_flow|winSenZon.VZonDesMin_flow|occSenZon.u1Occ|occSenZon.VOccZonMin_flow|occSenZon.VZonAbsMin_flow|occSenZon.VZonDesMin_flow|co2SenZon.uOpeMod|co2SenZon.ppmCO2|co2SenZon.ppmCO2Set|co2SenZon.VOccZonMin_flow|co2SenZon.VZonAbsMin_flow|co2SenZon.VZonDesMin_flow|co2SenZonParFan.uOpeMod|co2SenZonParFan.ppmCO2|co2SenZonParFan.ppmCO2Set|co2SenZonParFan.VParFan_flow|co2SenZonParFan.VOccZonMin_flow|co2SenZonParFan.VZonAbsMin_flow|co2SenZonParFan.VZonDesMin_flow|co2SenZonParFan.uZonSta|co2SenSZVAV.uOpeMod|co2SenSZVAV.ppmCO2|co2SenSZVAV.ppmCO2Set|co2SenSZVAV.VZonAbsMin_flow|co2SenSZVAV.VZonDesMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 387.1 MB / 399.7 MB, free: 9.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 172.9 kB / 492.3 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008119/0.0008118, allocations: 87.06 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.122e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.245, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8556/1.101, allocations: 152.6 MB / 1.361 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/1.101, allocations: 73.92 kB / 1.361 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04718/1.148, allocations: 22.2 MB / 1.383 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.204e-06/1.148, allocations: 0 / 1.383 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.992e-05/1.148, allocations: 46.47 kB / 1.383 GB, free: 30.11 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.001864/1.15, allocations: 1.466 MB / 1.385 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.15, allocations: 7.656 kB / 1.385 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/1.15, allocations: 201 kB / 1.385 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/1.151, allocations: 0.7442 MB / 1.386 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.436e-05/1.151, allocations: 138.3 kB / 1.386 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/1.152, allocations: 166.3 kB / 1.386 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/1.154, allocations: 1.497 MB / 1.387 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/1.154, allocations: 3.75 kB / 1.387 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/1.154, allocations: 69.69 kB / 1.387 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/1.154, allocations: 38.53 kB / 1.387 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/1.155, allocations: 1.057 MB / 1.388 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005898/1.161, allocations: 5.621 MB / 1.394 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/1.162, allocations: 0.5741 MB / 1.394 GB, free: 24.72 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/1.162, allocations: 228.2 kB / 1.395 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.135e-05/1.162, allocations: 11.8 kB / 1.395 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005289/1.163, allocations: 438.7 kB / 1.395 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=70): time 2.895e-06/1.163, allocations: 0 / 1.395 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=70): time 0.0009647/1.164, allocations: 0.5978 MB / 1.396 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.82e-05/1.164, allocations: 405 kB / 1.396 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/1.165, allocations: 1.191 MB / 1.397 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.692e-05/1.165, allocations: 45.02 kB / 1.397 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/1.166, allocations: 0.7252 MB / 1.398 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/1.166, allocations: 223.2 kB / 1.398 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/1.166, allocations: 21.16 kB / 1.398 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.166, allocations: 342.8 kB / 1.399 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/1.167, allocations: 289.1 kB / 1.399 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/1.167, allocations: 449.7 kB / 1.399 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/1.168, allocations: 370.1 kB / 1.4 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.168, allocations: 3.938 kB / 1.4 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001325/1.169, allocations: 0.9877 MB / 1.401 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/1.169, allocations: 81.22 kB / 1.401 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.169, allocations: 3.844 kB / 1.401 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.169, allocations: 7.812 kB / 1.401 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006726/1.17, allocations: 184.2 kB / 1.401 GB, free: 22.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.17, allocations: 7.719 kB / 1.401 GB, free: 22.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008353/1.171, allocations: 247.8 kB / 1.401 GB, free: 21.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.445e-05/1.171, allocations: 39.52 kB / 1.401 GB, free: 21.96 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,winSenZon.havCO2Sen.y,$PRE.winSta.y,winSta.y,occSenZon.havCO2Sen.y,$PRE.occSta.y,occSta.y,co2SenSZVAV.havCO2Sen.y,co2SenZon.havCO2Sen.y,co2SenZon.booToRea.u,co2SenZonParFan.uZonSta,co2SenZonParFan.booToRea.u,co2SenZonParFan.inCooSta.y,co2SenSZVAV.booToRea.u,booToInt.u,booToInt.y,noSenZon.havCO2Sen.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/1.171, allocations: 161.4 kB / 1.401 GB, free: 21.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/1.171, allocations: 142.6 kB / 1.401 GB, free: 21.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/1.172, allocations: 0.521 MB / 1.402 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/1.172, allocations: 7.656 kB / 1.402 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.172, allocations: 7.797 kB / 1.402 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/1.172, allocations: 3.984 kB / 1.402 GB, free: 21.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/1.174, allocations: 2.345 MB / 1.404 GB, free: 20.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/1.174, allocations: 7.875 kB / 1.404 GB, free: 20.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/1.175, allocations: 151.1 kB / 1.404 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/1.175, allocations: 7.656 kB / 1.404 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/1.175, allocations: 21.72 kB / 1.404 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/1.175, allocations: 19.58 kB / 1.404 GB, free: 20.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.175, allocations: 3.906 kB / 1.404 GB, free: 20.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/1.176, allocations: 1.146 MB / 1.406 GB, free: 19.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/1.176, allocations: 255.6 kB / 1.406 GB, free: 19.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/1.176, allocations: 22.48 kB / 1.406 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005024/1.176, allocations: 68.73 kB / 1.406 GB, free: 19.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.177, allocations: 83.72 kB / 1.406 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/1.177, allocations: 30.25 kB / 1.406 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000984/1.178, allocations: 0.8895 MB / 1.407 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.178, allocations: 0 / 1.407 GB, free: 18.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007727/1.178, allocations: 266.8 kB / 1.407 GB, free: 18.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 13 (co2SenZon.booToRea.u,co2SenZonParFan.uZonSta,co2SenZonParFan.booToRea.u,co2SenZonParFan.inCooSta.y,co2SenSZVAV.booToRea.u,booToInt.u,booToInt.y,$whenCondition1,$whenCondition2,occSta.y,$whenCondition3,$whenCondition4,winSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001889/1.179, allocations: 142.2 kB / 1.407 GB, free: 18.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001094/1.18, allocations: 0.8007 MB / 1.408 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.18, allocations: 0 / 1.408 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005414/1.18, allocations: 358.3 kB / 1.408 GB, free: 17.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/1.181, allocations: 120.6 kB / 1.409 GB, free: 17.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/1.183, allocations: 1.575 MB / 1.41 GB, free: 16.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/1.184, allocations: 1.205 MB / 1.411 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004156/1.184, allocations: 141.3 kB / 1.411 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/1.184, allocations: 86.05 kB / 1.411 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.184, allocations: 0 / 1.411 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of Templates: time 0.0183/1.203, allocations: 9.244 MB / 1.42 GB, free: 5.449 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches