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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.759/1.759, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.0009859/0.0009859, allocations: 177.3 kB / 487 MB, free: 5.309 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.172/1.172, allocations: 221.3 MB / 0.7819 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.000847, allocations: 92.91 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.051e-06/6.082e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1759, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4787/0.6546, allocations: 151.8 MB / 1.353 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.6548, allocations: 76.58 kB / 1.354 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.04447/0.6993, allocations: 21.78 MB / 1.375 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.706e-05/0.6994, allocations: 43.83 kB / 1.375 GB, free: 3.621 MB / 0.8073 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.0018/0.7012, allocations: 1.497 MB / 1.376 GB, free: 2.188 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.7013, allocations: 9.031 kB / 1.376 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.7015, allocations: 189.8 kB / 1.377 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008365/0.7024, allocations: 0.7533 MB / 1.377 GB, free: 1.367 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-05/0.7024, allocations: 71.48 kB / 1.377 GB, free: 1.301 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.7026, allocations: 100 kB / 1.377 GB, free: 1.203 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001394/0.704, allocations: 0.9485 MB / 1.378 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.7057, allocations: 1.258 MB / 1.38 GB, free: 15.66 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.7058, allocations: 7.844 kB / 1.38 GB, free: 15.65 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.023e-05/0.7058, allocations: 0 / 1.38 GB, free: 15.65 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.7059, allocations: 44 kB / 1.38 GB, free: 15.61 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005968/0.7119, allocations: 5.116 MB / 1.385 GB, free: 11.42 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/0.7128, allocations: 0.5362 MB / 1.385 GB, free: 11.01 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.7132, allocations: 211.3 kB / 1.385 GB, free: 10.88 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.7132, allocations: 8.438 kB / 1.385 GB, free: 10.87 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004578/0.7137, allocations: 394.8 kB / 1.386 GB, free: 10.53 MB / 0.823 GB Notification: Performance of pre-optimization done (n=70): time 2.275e-06/0.7137, allocations: 0 / 1.386 GB, free: 10.53 MB / 0.823 GB Notification: Performance of matching and sorting (n=70): time 0.0008325/0.7145, allocations: 0.5063 MB / 1.386 GB, free: 10.14 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.7147, allocations: 403.7 kB / 1.387 GB, free: 9.656 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006823/0.7154, allocations: 0.6537 MB / 1.387 GB, free: 9.18 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/0.7154, allocations: 29.7 kB / 1.387 GB, free: 9.145 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.7159, allocations: 0.6246 MB / 1.388 GB, free: 8.598 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.716, allocations: 211.4 kB / 1.388 GB, free: 8.418 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.7161, allocations: 7.438 kB / 1.388 GB, free: 8.414 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.7162, allocations: 346.4 kB / 1.388 GB, free: 8.082 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.7167, allocations: 269.9 kB / 1.389 GB, free: 7.938 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.7172, allocations: 422.6 kB / 1.389 GB, free: 7.613 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/0.7179, allocations: 313.7 kB / 1.389 GB, free: 7.414 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7179, allocations: 0 / 1.389 GB, free: 7.414 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001422/0.7194, allocations: 0.8384 MB / 1.39 GB, free: 6.789 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.7194, allocations: 4.281 kB / 1.39 GB, free: 6.785 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.7194, allocations: 11.94 kB / 1.39 GB, free: 6.773 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7194, allocations: 4 kB / 1.39 GB, free: 6.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/0.7201, allocations: 186.8 kB / 1.39 GB, free: 6.594 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.7202, allocations: 11.98 kB / 1.39 GB, free: 6.582 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/0.721, allocations: 183.1 kB / 1.391 GB, free: 6.402 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/0.7211, allocations: 38.86 kB / 1.391 GB, free: 6.371 MB / 0.823 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.0001687/0.7212, allocations: 140.8 kB / 1.391 GB, free: 6.23 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.7213, allocations: 90.88 kB / 1.391 GB, free: 6.141 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007059/0.7221, allocations: 441.4 kB / 1.391 GB, free: 5.824 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.7221, allocations: 8.062 kB / 1.391 GB, free: 5.816 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.7221, allocations: 11.91 kB / 1.391 GB, free: 5.805 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.7221, allocations: 7.984 kB / 1.391 GB, free: 5.797 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.7243, allocations: 2.071 MB / 1.393 GB, free: 4.125 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7244, allocations: 4.531 kB / 1.393 GB, free: 4.121 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000543/0.7249, allocations: 152.5 kB / 1.393 GB, free: 3.977 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.7249, allocations: 12 kB / 1.393 GB, free: 3.965 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.725, allocations: 13.36 kB / 1.393 GB, free: 3.953 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.725, allocations: 11.94 kB / 1.394 GB, free: 3.941 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.725, allocations: 4 kB / 1.394 GB, free: 3.938 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001035/0.726, allocations: 0.9855 MB / 1.394 GB, free: 2.938 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.7262, allocations: 185.1 kB / 1.395 GB, free: 2.75 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.7263, allocations: 8 kB / 1.395 GB, free: 2.742 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.7268, allocations: 63.95 kB / 1.395 GB, free: 2.68 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.7269, allocations: 72.75 kB / 1.395 GB, free: 2.625 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.727, allocations: 23.38 kB / 1.395 GB, free: 2.605 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004341/0.7274, allocations: 467.8 kB / 1.395 GB, free: 2.285 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006722/0.7281, allocations: 278.4 kB / 1.396 GB, free: 2.012 MB / 0.823 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.000171/0.7283, allocations: 130.5 kB / 1.396 GB, free: 1.875 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009578/0.7292, allocations: 0.6772 MB / 1.396 GB, free: 1.398 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7292, allocations: 3.25 kB / 1.396 GB, free: 1.398 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005341/0.7298, allocations: 338.9 kB / 1.397 GB, free: 1.172 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.7302, allocations: 67.5 kB / 1.397 GB, free: 1.129 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.7329, allocations: 1.495 MB / 1.398 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009368/0.7339, allocations: 1.281 MB / 1.399 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/0.7339, allocations: 0 / 1.399 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of Templates: time 0.01502/0.7489, allocations: 8.175 MB / 1.407 GB, free: 6.293 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