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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.155/2.155, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.0009661/0.0009662, allocations: 180 kB / 492.3 MB, free: 0.6055 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.452/1.452, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0008222/0.000822, allocations: 94.58 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/2.997e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2784, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8682/1.147, allocations: 151.9 MB / 1.361 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/1.147, allocations: 78.16 kB / 1.361 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04853/1.195, allocations: 21.96 MB / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.333e-06/1.195, allocations: 0 / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001021/1.196, allocations: 46.16 kB / 1.382 GB, free: 30.51 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.00322/1.199, allocations: 1.75 MB / 1.384 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/1.199, allocations: 15.66 kB / 1.384 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004221/1.199, allocations: 214.1 kB / 1.384 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/1.201, allocations: 1.095 MB / 1.385 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.572e-05/1.201, allocations: 141.1 kB / 1.385 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/1.201, allocations: 185.4 kB / 1.386 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/1.204, allocations: 1.463 MB / 1.387 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/1.204, allocations: 0 / 1.387 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/1.204, allocations: 78.19 kB / 1.387 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/1.204, allocations: 41.44 kB / 1.387 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/1.206, allocations: 1.298 MB / 1.388 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007211/1.213, allocations: 4.702 MB / 1.393 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/1.215, allocations: 1.052 MB / 1.394 GB, free: 26.44 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/1.216, allocations: 420.4 kB / 1.394 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.535e-05/1.216, allocations: 26.88 kB / 1.395 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/1.216, allocations: 52.97 kB / 1.395 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=119): time 3.026e-06/1.216, allocations: 0 / 1.395 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=119): time 0.001705/1.218, allocations: 0.9999 MB / 1.396 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/1.218, allocations: 63.94 kB / 1.396 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.219, allocations: 1.138 MB / 1.397 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/1.219, allocations: 59.64 kB / 1.397 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/1.22, allocations: 0.7259 MB / 1.397 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/1.22, allocations: 395.4 kB / 1.398 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/1.22, allocations: 22.78 kB / 1.398 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.22, allocations: 352.3 kB / 1.398 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005852/1.221, allocations: 406.8 kB / 1.399 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/1.222, allocations: 0.5729 MB / 1.399 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/1.222, allocations: 444.5 kB / 1.4 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.222, allocations: 0 / 1.4 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001573/1.224, allocations: 1.215 MB / 1.401 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001932/1.224, allocations: 0.6364 MB / 1.401 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.224, allocations: 0 / 1.401 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.224, allocations: 11.52 kB / 1.401 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/1.225, allocations: 288.2 kB / 1.402 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.225, allocations: 11.62 kB / 1.402 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008519/1.226, allocations: 229.3 kB / 1.402 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.638e-05/1.226, allocations: 42.55 kB / 1.402 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/1.226, allocations: 7.844 kB / 1.402 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001431/1.228, allocations: 1.035 MB / 1.403 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.228, allocations: 0 / 1.403 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/1.228, allocations: 11.95 kB / 1.403 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009179/1.229, allocations: 271.6 kB / 1.403 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/1.229, allocations: 11.92 kB / 1.403 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007839/1.229, allocations: 199.9 kB / 1.403 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/1.229, allocations: 41.3 kB / 1.403 GB, free: 22.74 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.000237/1.23, allocations: 178 kB / 1.404 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/1.23, allocations: 158 kB / 1.404 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/1.232, allocations: 1.604 MB / 1.405 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/1.232, allocations: 15.95 kB / 1.405 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/1.232, allocations: 0 / 1.405 GB, free: 21.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.232, allocations: 11.95 kB / 1.405 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/1.236, allocations: 3.751 MB / 1.409 GB, free: 18.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.237, allocations: 16.03 kB / 1.409 GB, free: 18.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009168/1.237, allocations: 273.3 kB / 1.409 GB, free: 18.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/1.237, allocations: 20 kB / 1.409 GB, free: 18.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-05/1.238, allocations: 46.92 kB / 1.409 GB, free: 18.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/1.238, allocations: 19.94 kB / 1.409 GB, free: 18.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.238, allocations: 19.88 kB / 1.409 GB, free: 18.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/1.24, allocations: 2.675 MB / 1.412 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/1.24, allocations: 282.3 kB / 1.412 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/1.24, allocations: 54.67 kB / 1.412 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/1.241, allocations: 150.6 kB / 1.412 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/1.242, allocations: 170.2 kB / 1.413 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.827e-05/1.242, allocations: 54.73 kB / 1.413 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001123/1.243, allocations: 0.9032 MB / 1.414 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.243, allocations: 0 / 1.414 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001324/1.244, allocations: 0.5278 MB / 1.414 GB, free: 14 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.0002642/1.244, allocations: 169.1 kB / 1.414 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002493/1.247, allocations: 1.66 MB / 1.416 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.247, allocations: 4.125 kB / 1.416 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009507/1.248, allocations: 0.5839 MB / 1.416 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/1.249, allocations: 283.3 kB / 1.417 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/1.253, allocations: 2.26 MB / 1.419 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008267/1.254, allocations: 1.286 MB / 1.42 GB, free: 8.734 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001227/1.255, allocations: 284.2 kB / 1.42 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/1.255, allocations: 118.4 kB / 1.421 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of SimCode: time 8.92e-07/1.255, allocations: 0 / 1.421 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of Templates: time 0.02793/1.283, allocations: 17.19 MB / 1.437 GB, free: 7.285 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