Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.749/1.749, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009218/0.0009219, allocations: 185.2 kB / 490.8 MB, free: 1.918 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.078/1.078, allocations: 221.4 MB / 0.7863 GB, free: 13.62 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.0008046/0.0008045, allocations: 98.61 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.502e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1653, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4545/0.6199, allocations: 151.9 MB / 1.36 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.6201, allocations: 77.14 kB / 1.36 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04595/0.6661, allocations: 21.72 MB / 1.381 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.956e-05/0.6662, allocations: 48.09 kB / 1.381 GB, free: 29.29 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.002675/0.6689, allocations: 1.812 MB / 1.383 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.6689, allocations: 13.12 kB / 1.383 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.6692, allocations: 216.4 kB / 1.383 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.6707, allocations: 1.101 MB / 1.384 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/0.6708, allocations: 62.44 kB / 1.384 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.671, allocations: 105.5 kB / 1.385 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001912/0.6729, allocations: 1.208 MB / 1.386 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.6748, allocations: 1.217 MB / 1.387 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.6749, allocations: 0 / 1.387 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.675, allocations: 2.562 kB / 1.387 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.675, allocations: 42.47 kB / 1.387 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006001/0.681, allocations: 4.21 MB / 1.391 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.6828, allocations: 0.9372 MB / 1.392 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.6833, allocations: 392.2 kB / 1.392 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/0.6834, allocations: 32.88 kB / 1.392 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.6834, allocations: 52.53 kB / 1.392 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=119): time 2.555e-06/0.6834, allocations: 96 / 1.392 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=119): time 0.001352/0.6848, allocations: 0.9035 MB / 1.393 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.6848, allocations: 68.22 kB / 1.393 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006882/0.6855, allocations: 0.6543 MB / 1.394 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.559e-05/0.6856, allocations: 38.64 kB / 1.394 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.6859, allocations: 0.5936 MB / 1.395 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.6861, allocations: 381.3 kB / 1.395 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.6861, allocations: 0 / 1.395 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6863, allocations: 361 kB / 1.395 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/0.6869, allocations: 381.9 kB / 1.396 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.6875, allocations: 0.541 MB / 1.396 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/0.6881, allocations: 414.1 kB / 1.397 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.6881, allocations: 0 / 1.397 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001518/0.6896, allocations: 1.093 MB / 1.398 GB, free: 23.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.6898, allocations: 0.6175 MB / 1.398 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6898, allocations: 9.172 kB / 1.398 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6898, allocations: 6.531 kB / 1.398 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.691, allocations: 297.5 kB / 1.399 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.691, allocations: 7.844 kB / 1.399 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007118/0.6917, allocations: 152.8 kB / 1.399 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/0.6918, allocations: 44.2 kB / 1.399 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-06/0.6918, allocations: 3.719 kB / 1.399 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001456/0.6933, allocations: 0.9284 MB / 1.4 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.6933, allocations: 1.188 kB / 1.4 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.6933, allocations: 7.125 kB / 1.4 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.6943, allocations: 274.6 kB / 1.4 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.6943, allocations: 11.56 kB / 1.4 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006245/0.695, allocations: 117 kB / 1.4 GB, free: 22.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/0.6951, allocations: 40.77 kB / 1.4 GB, free: 22.4 MB / 0.8386 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.0001717/0.6952, allocations: 139.2 kB / 1.4 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.6954, allocations: 114.1 kB / 1.4 GB, free: 22.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/0.6975, allocations: 1.482 MB / 1.402 GB, free: 21.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.6975, allocations: 15.78 kB / 1.402 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6975, allocations: 0.9375 kB / 1.402 GB, free: 21.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.6975, allocations: 11.95 kB / 1.402 GB, free: 21.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.7018, allocations: 3.413 MB / 1.405 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.7018, allocations: 10.59 kB / 1.405 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.7029, allocations: 274.8 kB / 1.405 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-05/0.7029, allocations: 16.97 kB / 1.405 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.32e-05/0.703, allocations: 30.23 kB / 1.406 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.131e-05/0.703, allocations: 19.53 kB / 1.406 GB, free: 20.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.711e-05/0.7031, allocations: 19.55 kB / 1.406 GB, free: 20.48 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002012/0.7051, allocations: 2.441 MB / 1.408 GB, free: 18.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.7052, allocations: 220.6 kB / 1.408 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.7054, allocations: 29.72 kB / 1.408 GB, free: 18.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008671/0.7063, allocations: 147.9 kB / 1.408 GB, free: 17.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.7064, allocations: 155.2 kB / 1.408 GB, free: 17.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.272e-05/0.7065, allocations: 53.61 kB / 1.409 GB, free: 17.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004534/0.707, allocations: 0.5125 MB / 1.409 GB, free: 17.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001011/0.708, allocations: 0.5632 MB / 1.41 GB, free: 16.79 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.0001782/0.7082, allocations: 149.6 kB / 1.41 GB, free: 16.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00173/0.7099, allocations: 1.549 MB / 1.411 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7099, allocations: 4.188 kB / 1.411 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007748/0.7107, allocations: 0.5593 MB / 1.412 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/0.7117, allocations: 230.6 kB / 1.412 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.7151, allocations: 2.188 MB / 1.414 GB, free: 13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.7161, allocations: 1.421 MB / 1.416 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/0.7161, allocations: 0 / 1.416 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of Templates: time 0.02712/0.7433, allocations: 19.75 MB / 1.435 GB, free: 8.027 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.csv","../files/Buildings_latest_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