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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.408/2.408, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001306/0.001306, allocations: 185.8 kB / 0.4902 GB, free: 2.211 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.527/1.527, allocations: 223.1 MB / 0.7992 GB, free: 15.61 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.0009812/0.0009811, allocations: 96.31 kB / 0.9396 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004888, allocations: 9.406 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3354, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2103/0.5457, allocations: 152.7 MB / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.5461, allocations: 79.94 kB / 1.378 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05841/0.6045, allocations: 22.02 MB / 1.4 GB, free: 6.34 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6046, allocations: 0 / 1.4 GB, free: 6.34 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002293/0.6048, allocations: 47.98 kB / 1.4 GB, free: 6.293 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.006356/0.6112, allocations: 1.898 MB / 1.402 GB, free: 4.336 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.6113, allocations: 8.562 kB / 1.402 GB, free: 4.328 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.6124, allocations: 221.3 kB / 1.402 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/0.6158, allocations: 1.094 MB / 1.403 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.616, allocations: 139.5 kB / 1.403 GB, free: 2.832 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005312/0.6166, allocations: 176 kB / 1.403 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.621, allocations: 1.608 MB / 1.405 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.621, allocations: 0 / 1.405 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/0.6213, allocations: 72 kB / 1.405 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.6213, allocations: 47.98 kB / 1.405 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6982/1.319, allocations: 1.508 MB / 1.407 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/1.33, allocations: 4.703 MB / 1.411 GB, free: 159 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/1.334, allocations: 1.246 MB / 1.412 GB, free: 158.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/1.334, allocations: 26.86 kB / 1.412 GB, free: 158.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/1.334, allocations: 52.16 kB / 1.413 GB, free: 158.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=119): time 4.548e-06/1.334, allocations: 0 / 1.413 GB, free: 158.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=119): time 0.004256/1.338, allocations: 1.697 MB / 1.414 GB, free: 158.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/1.338, allocations: 71.47 kB / 1.414 GB, free: 158.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/1.34, allocations: 1.148 MB / 1.415 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/1.34, allocations: 60.44 kB / 1.415 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008654/1.341, allocations: 0.7227 MB / 1.416 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/1.342, allocations: 400.4 kB / 1.417 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/1.342, allocations: 24.12 kB / 1.417 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.342, allocations: 350.2 kB / 1.417 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/1.343, allocations: 0.5199 MB / 1.417 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/1.344, allocations: 0.6818 MB / 1.418 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.346, allocations: 0.5542 MB / 1.419 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.346, allocations: 1.781 kB / 1.419 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003169/1.349, allocations: 1.452 MB / 1.42 GB, free: 157.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/1.349, allocations: 0.6408 MB / 1.421 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/1.349, allocations: 1.5 kB / 1.421 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/1.349, allocations: 10.75 kB / 1.421 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.35, allocations: 292.6 kB / 1.421 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/1.35, allocations: 10.27 kB / 1.421 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.351, allocations: 220.9 kB / 1.421 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/1.352, allocations: 42.77 kB / 1.421 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.352, allocations: 3.375 kB / 1.421 GB, free: 156.7 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002405/1.354, allocations: 1.197 MB / 1.422 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.354, allocations: 1.469 kB / 1.422 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/1.354, allocations: 11.59 kB / 1.422 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.355, allocations: 269.9 kB / 1.423 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/1.355, allocations: 12.78 kB / 1.423 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/1.356, allocations: 202.3 kB / 1.423 GB, free: 156.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.462e-05/1.356, allocations: 42.19 kB / 1.423 GB, free: 156.5 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.0009514/1.357, allocations: 399.8 kB / 1.423 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/1.358, allocations: 156.2 kB / 1.423 GB, free: 156.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/1.361, allocations: 1.829 MB / 1.425 GB, free: 156 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/1.361, allocations: 16.52 kB / 1.425 GB, free: 156 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.361, allocations: 2.844 kB / 1.425 GB, free: 156 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/1.361, allocations: 5.766 kB / 1.425 GB, free: 156 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006894/1.368, allocations: 3.992 MB / 1.429 GB, free: 155.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.368, allocations: 10.09 kB / 1.429 GB, free: 155.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.369, allocations: 269.3 kB / 1.429 GB, free: 155.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.628e-05/1.369, allocations: 18.44 kB / 1.429 GB, free: 155.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.751e-05/1.369, allocations: 45.8 kB / 1.429 GB, free: 155.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.413e-05/1.369, allocations: 20.11 kB / 1.429 GB, free: 155.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.005e-05/1.369, allocations: 16.03 kB / 1.429 GB, free: 155.2 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004462/1.374, allocations: 3.028 MB / 1.432 GB, free: 153.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/1.374, allocations: 288.8 kB / 1.433 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/1.375, allocations: 44.5 kB / 1.433 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.376, allocations: 147.8 kB / 1.433 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003493/1.376, allocations: 175.9 kB / 1.433 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.376, allocations: 59.53 kB / 1.433 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001552/1.378, allocations: 0.9124 MB / 1.434 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/1.378, allocations: 96 / 1.434 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001884/1.38, allocations: 0.5351 MB / 1.435 GB, free: 153.1 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.0003062/1.38, allocations: 183.5 kB / 1.435 GB, free: 153 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004236/1.384, allocations: 1.91 MB / 1.437 GB, free: 152.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.527e-06/1.384, allocations: 6.719 kB / 1.437 GB, free: 152.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001558/1.386, allocations: 0.696 MB / 1.437 GB, free: 152.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/1.387, allocations: 272 kB / 1.438 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005908/1.393, allocations: 3.402 MB / 1.441 GB, free: 150.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/1.394, allocations: 1.284 MB / 1.442 GB, free: 149.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001403/1.396, allocations: 239.9 kB / 1.442 GB, free: 149.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/1.396, allocations: 136.8 kB / 1.442 GB, free: 149.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.873e-06/1.396, allocations: 5.344 kB / 1.442 GB, free: 149.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.03168/1.428, allocations: 15.04 MB / 1.457 GB, free: 148.7 MB / 0.9011 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