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.427/2.427, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.00106/0.00106, allocations: 181.1 kB / 498.1 MB, free: 5.676 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.778/1.778, allocations: 223.2 MB / 0.7949 GB, free: 18.82 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.0008845/0.0008845, allocations: 104.1 kB / 0.9346 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 9.406 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2913, allocations: 142.4 MB / 1.223 GB, free: 89.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.4857, allocations: 151.9 MB / 1.371 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.4861, allocations: 79.94 kB / 1.371 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05575/0.5419, allocations: 22.02 MB / 1.393 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.033e-06/0.5419, allocations: 4 kB / 1.393 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001239/0.5421, allocations: 47.98 kB / 1.393 GB, free: 11.16 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.003602/0.5457, allocations: 1.901 MB / 1.395 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.5457, allocations: 12.03 kB / 1.395 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.5461, allocations: 213.4 kB / 1.395 GB, free: 8.977 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.548, allocations: 1.086 MB / 1.396 GB, free: 7.844 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.5481, allocations: 139.5 kB / 1.396 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.5483, allocations: 183.9 kB / 1.396 GB, free: 7.527 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/0.5514, allocations: 1.612 MB / 1.398 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.5515, allocations: 0 / 1.398 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.5516, allocations: 72 kB / 1.398 GB, free: 5.832 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.5517, allocations: 44 kB / 1.398 GB, free: 5.789 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.5545, allocations: 1.513 MB / 1.4 GB, free: 4.273 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7154/1.27, allocations: 4.691 MB / 1.404 GB, free: 161.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003572/1.274, allocations: 1.245 MB / 1.405 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/1.274, allocations: 30.23 kB / 1.405 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/1.274, allocations: 46.38 kB / 1.405 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=119): time 3.507e-06/1.274, allocations: 0 / 1.405 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=119): time 0.0045/1.278, allocations: 1.701 MB / 1.407 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/1.278, allocations: 63.62 kB / 1.407 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/1.282, allocations: 1.15 MB / 1.408 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002821/1.282, allocations: 61.19 kB / 1.408 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008713/1.283, allocations: 0.7202 MB / 1.409 GB, free: 161 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/1.284, allocations: 403.6 kB / 1.409 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/1.284, allocations: 24.72 kB / 1.409 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.284, allocations: 351.6 kB / 1.41 GB, free: 160.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/1.285, allocations: 0.516 MB / 1.41 GB, free: 160.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/1.286, allocations: 0.688 MB / 1.411 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.288, allocations: 0.55 MB / 1.411 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.288, allocations: 0.9375 kB / 1.411 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00323/1.291, allocations: 1.45 MB / 1.413 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/1.291, allocations: 0.6374 MB / 1.414 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.291, allocations: 4.297 kB / 1.414 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/1.291, allocations: 7.766 kB / 1.414 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.292, allocations: 291.8 kB / 1.414 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/1.292, allocations: 10.55 kB / 1.414 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/1.294, allocations: 229.6 kB / 1.414 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.294, allocations: 46.48 kB / 1.414 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.294, allocations: 4.406 kB / 1.414 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002385/1.296, allocations: 1.193 MB / 1.415 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.296, allocations: 5.453 kB / 1.415 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/1.296, allocations: 9.062 kB / 1.415 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.297, allocations: 275.3 kB / 1.416 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/1.297, allocations: 7.75 kB / 1.416 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.298, allocations: 198.5 kB / 1.416 GB, free: 159.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/1.298, allocations: 47.31 kB / 1.416 GB, free: 159.3 MB / 0.9011 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 () * Number of clocked 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.0009267/1.299, allocations: 397.8 kB / 1.416 GB, free: 159.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/1.3, allocations: 157.4 kB / 1.416 GB, free: 159 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003612/1.303, allocations: 1.83 MB / 1.418 GB, free: 158.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/1.303, allocations: 16.27 kB / 1.418 GB, free: 158.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/1.303, allocations: 1.094 kB / 1.418 GB, free: 158.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/1.303, allocations: 11 kB / 1.418 GB, free: 158.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00723/1.311, allocations: 3.987 MB / 1.422 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/1.311, allocations: 10.89 kB / 1.422 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/1.312, allocations: 270.6 kB / 1.422 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.408e-05/1.312, allocations: 22.23 kB / 1.422 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.945e-05/1.312, allocations: 44.7 kB / 1.422 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.352e-05/1.312, allocations: 21.95 kB / 1.422 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.481e-05/1.312, allocations: 19.56 kB / 1.422 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004363/1.316, allocations: 3.024 MB / 1.425 GB, free: 156.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/1.317, allocations: 284.5 kB / 1.426 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/1.317, allocations: 41.22 kB / 1.426 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.318, allocations: 160.5 kB / 1.426 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/1.318, allocations: 169.8 kB / 1.426 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.319, allocations: 56.45 kB / 1.426 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001434/1.32, allocations: 0.9138 MB / 1.427 GB, free: 156.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.2e-07/1.32, allocations: 0 / 1.427 GB, free: 156.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001735/1.322, allocations: 0.5371 MB / 1.427 GB, free: 156 MB / 0.9011 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) * Number of clocked states: 0 () * 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.0003225/1.322, allocations: 181.9 kB / 1.428 GB, free: 155.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004117/1.326, allocations: 1.911 MB / 1.429 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/1.326, allocations: 1.969 kB / 1.429 GB, free: 155.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/1.328, allocations: 0.7028 MB / 1.43 GB, free: 155.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.329, allocations: 281.2 kB / 1.43 GB, free: 155.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005073/1.334, allocations: 3.403 MB / 1.434 GB, free: 153.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009492/1.335, allocations: 1.28 MB / 1.435 GB, free: 153.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001151/1.336, allocations: 240.7 kB / 1.435 GB, free: 153 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/1.337, allocations: 138.8 kB / 1.435 GB, free: 153 MB / 0.9011 GB Notification: Performance of SimCode: time 1.312e-06/1.337, allocations: 0 / 1.435 GB, free: 153 MB / 0.9011 GB Notification: Performance of Templates: time 0.02961/1.366, allocations: 15.05 MB / 1.45 GB, free: 152.2 MB / 0.9011 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