Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.uHea|setPoiVAV.uCoo|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y|setPoiVAV.TZon|setPoiVAV.TOut|setPoiVAV1.y|setPoiVAV2.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.uHea|setPoiVAV.uCoo|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y|setPoiVAV.TZon|setPoiVAV.TOut|setPoiVAV1.y|setPoiVAV2.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u") [: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.755/1.755, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009306/0.0009304, allocations: 189.2 kB / 487 MB, free: 5.375 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.134/1.134, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0008615/0.0008613, allocations: 96.61 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.853e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1915, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5242/0.7157, allocations: 151.1 MB / 1.353 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.716, allocations: 73.11 kB / 1.353 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.04608/0.7621, allocations: 21.72 MB / 1.374 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.968e-05/0.7622, allocations: 50.09 kB / 1.374 GB, free: 4.156 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.002494/0.7647, allocations: 1.801 MB / 1.376 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.7647, allocations: 9.031 kB / 1.376 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.7649, allocations: 217.4 kB / 1.376 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.7664, allocations: 1.112 MB / 1.377 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.7665, allocations: 60 kB / 1.377 GB, free: 1.258 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.7666, allocations: 107.9 kB / 1.377 GB, free: 1.152 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001733/0.7684, allocations: 1.213 MB / 1.379 GB, free: 436 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.7704, allocations: 1.211 MB / 1.38 GB, free: 15.58 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.7704, allocations: 0 / 1.38 GB, free: 15.58 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.7705, allocations: 4 kB / 1.38 GB, free: 15.57 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.7705, allocations: 40 kB / 1.38 GB, free: 15.54 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006594/0.7771, allocations: 4.217 MB / 1.384 GB, free: 12.46 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.7789, allocations: 0.9341 MB / 1.385 GB, free: 11.86 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/0.7795, allocations: 390.3 kB / 1.385 GB, free: 11.64 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.043e-05/0.7795, allocations: 24.66 kB / 1.385 GB, free: 11.62 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.7796, allocations: 50.81 kB / 1.385 GB, free: 11.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=119): time 3.156e-06/0.7796, allocations: 0 / 1.385 GB, free: 11.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=119): time 0.001403/0.781, allocations: 0.9078 MB / 1.386 GB, free: 10.93 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.781, allocations: 64.41 kB / 1.386 GB, free: 10.85 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006982/0.7818, allocations: 0.6608 MB / 1.387 GB, free: 10.36 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.7818, allocations: 37.2 kB / 1.387 GB, free: 10.32 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.7822, allocations: 0.5993 MB / 1.388 GB, free: 9.793 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.7824, allocations: 379.5 kB / 1.388 GB, free: 9.465 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.7825, allocations: 0 / 1.388 GB, free: 9.465 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7826, allocations: 350 kB / 1.388 GB, free: 9.137 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005718/0.7832, allocations: 390.9 kB / 1.389 GB, free: 8.93 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/0.7839, allocations: 0.533 MB / 1.389 GB, free: 8.539 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.7845, allocations: 424.2 kB / 1.389 GB, free: 8.301 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.7845, allocations: 3.906 kB / 1.39 GB, free: 8.297 MB / 0.823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001607/0.7861, allocations: 1.086 MB / 1.391 GB, free: 7.527 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.7863, allocations: 0.6207 MB / 1.391 GB, free: 6.875 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.7863, allocations: 0 / 1.391 GB, free: 6.875 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.7864, allocations: 11.94 kB / 1.391 GB, free: 6.863 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.7875, allocations: 297.6 kB / 1.391 GB, free: 6.582 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.7875, allocations: 11.98 kB / 1.391 GB, free: 6.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.7883, allocations: 143.7 kB / 1.392 GB, free: 6.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.106e-05/0.7884, allocations: 47.73 kB / 1.392 GB, free: 6.395 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.041e-06/0.7884, allocations: 8 kB / 1.392 GB, free: 6.387 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001387/0.7898, allocations: 0.9241 MB / 1.393 GB, free: 5.777 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.7898, allocations: 4 kB / 1.393 GB, free: 5.773 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.7898, allocations: 7.984 kB / 1.393 GB, free: 5.766 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.7908, allocations: 273.6 kB / 1.393 GB, free: 5.508 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.7909, allocations: 8 kB / 1.393 GB, free: 5.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/0.7915, allocations: 123.1 kB / 1.393 GB, free: 5.379 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.756e-05/0.7916, allocations: 42.73 kB / 1.393 GB, free: 5.348 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setPoiVAV.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.gre.greHys.y,$PRE.setPoiVAV1.heaSta.greHys.y,setPoiVAV1.heaSta.greHys.y,$PRE.setPoiVAV1.gre.greHys.y,setPoiVAV1.gre.greHys.y,$PRE.setPoiVAV2.heaSta.greHys.y,setPoiVAV2.heaSta.greHys.y,$PRE.setPoiVAV2.gre.greHys.y,setPoiVAV2.gre.greHys.y,setPoiVAV2.y1SupFan,setPoiVAV1.y1SupFan,setPoiVAV.y1SupFan) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * 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.0002061/0.7918, allocations: 137.2 kB / 1.393 GB, free: 5.211 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.792, allocations: 118.6 kB / 1.393 GB, free: 5.094 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.794, allocations: 1.481 MB / 1.395 GB, free: 4.051 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.794, allocations: 16 kB / 1.395 GB, free: 4.035 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.794, allocations: 4 kB / 1.395 GB, free: 4.031 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.794, allocations: 7.969 kB / 1.395 GB, free: 4.023 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.7982, allocations: 3.415 MB / 1.398 GB, free: 1.562 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.7982, allocations: 8 kB / 1.398 GB, free: 1.555 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.7992, allocations: 283.1 kB / 1.398 GB, free: 1.289 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/0.7992, allocations: 16 kB / 1.398 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/0.7993, allocations: 27.55 kB / 1.398 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/0.7993, allocations: 23.92 kB / 1.398 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.7994, allocations: 19.94 kB / 1.398 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002374/0.8017, allocations: 2.432 MB / 1.401 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.8019, allocations: 225.1 kB / 1.401 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.8021, allocations: 23 kB / 1.401 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009438/0.803, allocations: 147.9 kB / 1.401 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.8033, allocations: 150.4 kB / 1.401 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.508e-05/0.8033, allocations: 58.92 kB / 1.401 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005309/0.8039, allocations: 0.514 MB / 1.402 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001101/0.805, allocations: 0.5631 MB / 1.402 GB, free: 13.46 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 3 (setPoiVAV.ramLim.y,setPoiVAV1.ramLim.y,setPoiVAV2.ramLim.y) * Number of discrete variables: 6 (setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y,setPoiVAV1.heaSta.greHys.y,setPoiVAV1.gre.greHys.y,setPoiVAV2.heaSta.greHys.y,setPoiVAV2.gre.greHys.y) * Number of discrete states: 6 (setPoiVAV2.heaSta.greHys.y,setPoiVAV1.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,setPoiVAV2.gre.greHys.y,setPoiVAV1.gre.greHys.y,setPoiVAV.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002008/0.8052, allocations: 151.5 kB / 1.403 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.8072, allocations: 1.55 MB / 1.404 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.8072, allocations: 4.188 kB / 1.404 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008884/0.8081, allocations: 0.5601 MB / 1.405 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.8092, allocations: 214.2 kB / 1.405 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.8128, allocations: 2.184 MB / 1.407 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/0.8139, allocations: 1.429 MB / 1.408 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/0.8139, allocations: 0 / 1.408 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of Templates: time 0.0287/0.8426, allocations: 19.75 MB / 1.428 GB, free: 4.684 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches