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.507/2.507, allocations: 390.5 MB / 398 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.001286/0.001286, allocations: 180.9 kB / 491.2 MB, free: 1.562 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.664/1.664, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009445/0.0009447, allocations: 95.64 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.277e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3174, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.324, allocations: 152 MB / 1.361 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/1.325, allocations: 74.58 kB / 1.361 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04937/1.374, allocations: 21.81 MB / 1.382 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.894e-06/1.374, allocations: 7.938 kB / 1.382 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001202/1.374, allocations: 50.31 kB / 1.382 GB, free: 29.38 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.003244/1.377, allocations: 1.754 MB / 1.384 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.377, allocations: 7.719 kB / 1.384 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/1.378, allocations: 217.2 kB / 1.384 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/1.379, allocations: 1.091 MB / 1.385 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.728e-05/1.38, allocations: 57.94 kB / 1.385 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/1.38, allocations: 107.6 kB / 1.385 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001999/1.382, allocations: 1.209 MB / 1.387 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/1.384, allocations: 1.209 MB / 1.388 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/1.384, allocations: 0 / 1.388 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/1.384, allocations: 3.812 kB / 1.388 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/1.384, allocations: 46.05 kB / 1.388 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006479/1.39, allocations: 4.182 MB / 1.392 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/1.392, allocations: 0.9877 MB / 1.393 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/1.393, allocations: 394.9 kB / 1.393 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.306e-05/1.393, allocations: 31.42 kB / 1.393 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/1.393, allocations: 54.47 kB / 1.393 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=119): time 3.677e-06/1.393, allocations: 96 / 1.393 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=119): time 0.001376/1.394, allocations: 0.9071 MB / 1.394 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/1.394, allocations: 68.17 kB / 1.394 GB, free: 25.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/1.395, allocations: 0.6517 MB / 1.395 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/1.395, allocations: 44.09 kB / 1.395 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/1.396, allocations: 0.7436 MB / 1.396 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/1.396, allocations: 385.9 kB / 1.396 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/1.396, allocations: 3.688 kB / 1.396 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.396, allocations: 348.5 kB / 1.396 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/1.396, allocations: 389 kB / 1.397 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/1.397, allocations: 0.5448 MB / 1.397 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/1.398, allocations: 416.5 kB / 1.398 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.398, allocations: 0 / 1.398 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.001448/1.399, allocations: 1.091 MB / 1.399 GB, free: 23.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002314/1.399, allocations: 0.6153 MB / 1.399 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.399, allocations: 0 / 1.399 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/1.4, allocations: 7.656 kB / 1.399 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.401, allocations: 295.2 kB / 1.4 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/1.401, allocations: 7.719 kB / 1.4 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/1.401, allocations: 140.3 kB / 1.4 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/1.401, allocations: 45.42 kB / 1.4 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.401, allocations: 5.125 kB / 1.4 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/1.403, allocations: 0.9205 MB / 1.401 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/1.403, allocations: 0 / 1.401 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/1.403, allocations: 7.531 kB / 1.401 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/1.404, allocations: 276.4 kB / 1.401 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/1.404, allocations: 3.844 kB / 1.401 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/1.404, allocations: 121.2 kB / 1.401 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.566e-05/1.404, allocations: 37 kB / 1.401 GB, free: 22.53 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.0002619/1.405, allocations: 137.8 kB / 1.401 GB, free: 22.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/1.405, allocations: 116.5 kB / 1.401 GB, free: 22.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/1.407, allocations: 1.479 MB / 1.403 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/1.407, allocations: 11.78 kB / 1.403 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.407, allocations: 3.953 kB / 1.403 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.407, allocations: 3.984 kB / 1.403 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00457/1.411, allocations: 3.423 MB / 1.406 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.411, allocations: 12 kB / 1.406 GB, free: 20.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000935/1.412, allocations: 270.7 kB / 1.406 GB, free: 20.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.453e-05/1.412, allocations: 23.98 kB / 1.406 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/1.413, allocations: 19.98 kB / 1.406 GB, free: 20.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/1.413, allocations: 23.92 kB / 1.407 GB, free: 20.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/1.413, allocations: 19.89 kB / 1.407 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/1.415, allocations: 2.436 MB / 1.409 GB, free: 17.87 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/1.415, allocations: 219.3 kB / 1.409 GB, free: 17.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/1.415, allocations: 31.86 kB / 1.409 GB, free: 17.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000902/1.416, allocations: 127.8 kB / 1.409 GB, free: 17.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/1.417, allocations: 169.6 kB / 1.409 GB, free: 17.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/1.417, allocations: 54.39 kB / 1.409 GB, free: 17.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006219/1.417, allocations: 0.5184 MB / 1.41 GB, free: 16.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.417, allocations: 0 / 1.41 GB, free: 16.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001364/1.419, allocations: 0.567 MB / 1.411 GB, free: 16.36 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.0002598/1.419, allocations: 150.7 kB / 1.411 GB, free: 16.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002152/1.421, allocations: 1.535 MB / 1.412 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.421, allocations: 4.188 kB / 1.412 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008156/1.422, allocations: 0.5494 MB / 1.413 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.423, allocations: 233.1 kB / 1.413 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/1.427, allocations: 2.137 MB / 1.415 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009396/1.428, allocations: 1.284 MB / 1.416 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001189/1.429, allocations: 233.6 kB / 1.417 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/1.43, allocations: 110.3 kB / 1.417 GB, free: 11 MB / 0.8386 GB Notification: Performance of SimCode: time 1.092e-06/1.43, allocations: 0 / 1.417 GB, free: 11 MB / 0.8386 GB Notification: Performance of Templates: time 0.02728/1.457, allocations: 13.91 MB / 1.43 GB, free: 13.24 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