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.205/2.205, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.0009833/0.000983, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.491/1.491, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 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.0008836/0.0008837, allocations: 98.7 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.314e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3016, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.314, allocations: 151.2 MB / 1.354 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.315, allocations: 77.67 kB / 1.354 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05118/1.366, allocations: 21.8 MB / 1.375 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.964e-06/1.366, allocations: 0 / 1.375 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001908/1.366, allocations: 46.38 kB / 1.375 GB, free: 31.04 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.004258/1.37, allocations: 1.752 MB / 1.377 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.37, allocations: 11.72 kB / 1.377 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005096/1.371, allocations: 213.6 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/1.373, allocations: 1.097 MB / 1.378 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/1.373, allocations: 57.56 kB / 1.378 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/1.373, allocations: 107.4 kB / 1.378 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002015/1.375, allocations: 1.209 MB / 1.379 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/1.377, allocations: 1.21 MB / 1.381 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/1.377, allocations: 0 / 1.381 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/1.377, allocations: 3.781 kB / 1.381 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/1.377, allocations: 45.38 kB / 1.381 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007028/1.384, allocations: 4.184 MB / 1.385 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/1.386, allocations: 0.9842 MB / 1.386 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000513/1.387, allocations: 395.5 kB / 1.386 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.332e-05/1.387, allocations: 35.94 kB / 1.386 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/1.387, allocations: 57.73 kB / 1.386 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=119): time 4.538e-06/1.387, allocations: 0 / 1.386 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=119): time 0.001497/1.388, allocations: 0.8999 MB / 1.387 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/1.388, allocations: 64.28 kB / 1.387 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/1.389, allocations: 0.6583 MB / 1.388 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.074e-05/1.389, allocations: 37.5 kB / 1.388 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00051/1.39, allocations: 0.7495 MB / 1.389 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/1.39, allocations: 379.6 kB / 1.389 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/1.39, allocations: 7.906 kB / 1.389 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.39, allocations: 349.9 kB / 1.389 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/1.391, allocations: 383.9 kB / 1.39 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/1.392, allocations: 0.5449 MB / 1.39 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/1.392, allocations: 415.6 kB / 1.391 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.392, allocations: 0 / 1.391 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00151/1.394, allocations: 1.083 MB / 1.392 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002737/1.394, allocations: 0.6211 MB / 1.392 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/1.394, allocations: 0 / 1.392 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/1.394, allocations: 7.75 kB / 1.392 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/1.395, allocations: 295.7 kB / 1.392 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.395, allocations: 11.62 kB / 1.392 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/1.396, allocations: 140.6 kB / 1.393 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/1.396, allocations: 45.75 kB / 1.393 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/1.396, allocations: 4.062 kB / 1.393 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001278/1.397, allocations: 0.9247 MB / 1.394 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.397, allocations: 3.906 kB / 1.394 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/1.397, allocations: 8.031 kB / 1.394 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009285/1.398, allocations: 267 kB / 1.394 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.398, allocations: 11.7 kB / 1.394 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/1.399, allocations: 109.4 kB / 1.394 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/1.399, allocations: 45.23 kB / 1.394 GB, free: 24.18 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.0002481/1.399, allocations: 141.8 kB / 1.394 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/1.399, allocations: 116.2 kB / 1.394 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/1.401, allocations: 1.476 MB / 1.396 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.401, allocations: 11.56 kB / 1.396 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.401, allocations: 0 / 1.396 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.401, allocations: 11.94 kB / 1.396 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/1.405, allocations: 3.423 MB / 1.399 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.406, allocations: 7.688 kB / 1.399 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009167/1.406, allocations: 271.6 kB / 1.399 GB, free: 22.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/1.406, allocations: 15.59 kB / 1.399 GB, free: 22.26 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-05/1.407, allocations: 26.2 kB / 1.399 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/1.407, allocations: 22.95 kB / 1.399 GB, free: 22.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.407, allocations: 19.38 kB / 1.399 GB, free: 22.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/1.409, allocations: 2.442 MB / 1.402 GB, free: 20.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/1.409, allocations: 217.5 kB / 1.402 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/1.409, allocations: 29.98 kB / 1.402 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/1.41, allocations: 130.8 kB / 1.402 GB, free: 20.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/1.41, allocations: 163.2 kB / 1.402 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/1.41, allocations: 56.42 kB / 1.402 GB, free: 20.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005723/1.411, allocations: 0.5152 MB / 1.403 GB, free: 20.28 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.411, allocations: 0 / 1.403 GB, free: 20.28 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001345/1.412, allocations: 0.5654 MB / 1.403 GB, free: 20.1 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.0002793/1.413, allocations: 157.1 kB / 1.404 GB, free: 19.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002095/1.415, allocations: 1.534 MB / 1.405 GB, free: 19.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.415, allocations: 4.031 kB / 1.405 GB, free: 19.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008314/1.416, allocations: 0.548 MB / 1.406 GB, free: 19.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.417, allocations: 235.5 kB / 1.406 GB, free: 19.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/1.42, allocations: 2.136 MB / 1.408 GB, free: 18.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/1.421, allocations: 1.29 MB / 1.409 GB, free: 17.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001077/1.422, allocations: 235.1 kB / 1.409 GB, free: 17.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.422, allocations: 109.5 kB / 1.409 GB, free: 17.54 MB / 0.8386 GB Notification: Performance of SimCode: time 8.42e-07/1.422, allocations: 0 / 1.409 GB, free: 17.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.02474/1.447, allocations: 13.9 MB / 1.423 GB, free: 4.23 MB / 0.8386 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