Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.533/2.533, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001306/0.001306, allocations: 191.8 kB / 0.4902 GB, free: 2.227 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.524/1.524, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.0009808/0.0009808, allocations: 102.4 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004103, allocations: 15.78 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3036, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/0.5079, allocations: 153.5 MB / 1.379 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.5082, allocations: 75.94 kB / 1.379 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09015/0.5984, allocations: 22.45 MB / 1.401 GB, free: 5.242 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.767e-06/0.5984, allocations: 0 / 1.401 GB, free: 5.242 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002152/0.5987, allocations: 43.98 kB / 1.401 GB, free: 5.199 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 426 * Number of variables: 426 Notification: Performance of Generate backend data structure: time 0.005194/0.6039, allocations: 1.581 MB / 1.403 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.393e-05/0.604, allocations: 12.56 kB / 1.403 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005124/0.6045, allocations: 193.7 kB / 1.403 GB, free: 3.344 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.6063, allocations: 0.7552 MB / 1.404 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.6066, allocations: 143.3 kB / 1.404 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003102/0.6069, allocations: 168 kB / 1.404 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004099/0.611, allocations: 1.595 MB / 1.405 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.6111, allocations: 0 / 1.405 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.6112, allocations: 72 kB / 1.406 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.6113, allocations: 40 kB / 1.406 GB, free: 472 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6642/1.276, allocations: 1.204 MB / 1.407 GB, free: 159.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/1.286, allocations: 5.648 MB / 1.412 GB, free: 157.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/1.288, allocations: 0.6368 MB / 1.413 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.377e-05/1.288, allocations: 14.08 kB / 1.413 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/1.289, allocations: 492.9 kB / 1.413 GB, free: 157.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=70): time 5.6e-06/1.289, allocations: 3.344 kB / 1.413 GB, free: 157.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=70): time 0.002568/1.292, allocations: 0.9705 MB / 1.414 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/1.292, allocations: 403.8 kB / 1.415 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/1.294, allocations: 1.205 MB / 1.416 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/1.294, allocations: 40.83 kB / 1.416 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006681/1.295, allocations: 0.7297 MB / 1.417 GB, free: 156.4 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/1.295, allocations: 219.2 kB / 1.417 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/1.295, allocations: 21.11 kB / 1.417 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/1.295, allocations: 342 kB / 1.417 GB, free: 156 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000854/1.296, allocations: 362.2 kB / 1.418 GB, free: 156 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008653/1.297, allocations: 0.5009 MB / 1.418 GB, free: 155.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008172/1.298, allocations: 431.2 kB / 1.418 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/1.298, allocations: 5.25 kB / 1.418 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00239/1.3, allocations: 1.127 MB / 1.42 GB, free: 155.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/1.3, allocations: 70.09 kB / 1.42 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.3, allocations: 3.328 kB / 1.42 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/1.3, allocations: 7.594 kB / 1.42 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/1.301, allocations: 178.4 kB / 1.42 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.834e-05/1.301, allocations: 16.44 kB / 1.42 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/1.302, allocations: 242.9 kB / 1.42 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/1.302, allocations: 40.41 kB / 1.42 GB, free: 155.4 MB / 0.9011 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 () * Number of clocked 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.0007747/1.303, allocations: 299.4 kB / 1.42 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/1.304, allocations: 144.6 kB / 1.42 GB, free: 155.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/1.305, allocations: 0.6293 MB / 1.421 GB, free: 155.1 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/1.305, allocations: 13.53 kB / 1.421 GB, free: 155.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/1.305, allocations: 2.156 kB / 1.421 GB, free: 155.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/1.305, allocations: 5.828 kB / 1.421 GB, free: 155.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004522/1.31, allocations: 2.489 MB / 1.424 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/1.31, allocations: 4.5 kB / 1.424 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/1.311, allocations: 139.2 kB / 1.424 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.231e-05/1.311, allocations: 11.52 kB / 1.424 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/1.311, allocations: 19.97 kB / 1.424 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.688e-05/1.311, allocations: 12.44 kB / 1.424 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.311, allocations: 10.64 kB / 1.424 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/1.313, allocations: 1.269 MB / 1.425 GB, free: 153.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/1.313, allocations: 254.8 kB / 1.425 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/1.313, allocations: 30.14 kB / 1.425 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006656/1.314, allocations: 71.56 kB / 1.425 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/1.314, allocations: 77 kB / 1.425 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.57e-05/1.314, allocations: 26.02 kB / 1.425 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001728/1.316, allocations: 0.905 MB / 1.426 GB, free: 153.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.92e-07/1.316, allocations: 0 / 1.426 GB, free: 153.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001148/1.317, allocations: 263.3 kB / 1.427 GB, free: 153.1 MB / 0.9011 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 () * Number of clocked 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.000268/1.317, allocations: 142 kB / 1.427 GB, free: 153 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002149/1.32, allocations: 0.9241 MB / 1.428 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.32, allocations: 2.219 kB / 1.428 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000983/1.321, allocations: 414.9 kB / 1.428 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000801/1.321, allocations: 119.9 kB / 1.428 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/1.325, allocations: 2.523 MB / 1.431 GB, free: 151.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007267/1.326, allocations: 1.201 MB / 1.432 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005211/1.327, allocations: 144.2 kB / 1.432 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/1.327, allocations: 90.25 kB / 1.432 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of SimCode: time 1.302e-06/1.327, allocations: 0 / 1.432 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of Templates: time 0.02551/1.352, allocations: 9.237 MB / 1.441 GB, free: 150 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_Title24_Validation_Setpoints.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.Title24.Validation.Setpoints.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches