Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.uHea|setPoiVAV.uCoo|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y|setPoiVAV.TZon|setPoiVAV.TOut|setPoiVAV1.y|setPoiVAV2.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.uHea|setPoiVAV.uCoo|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y|setPoiVAV.TZon|setPoiVAV.TOut|setPoiVAV1.y|setPoiVAV2.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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.161/2.161, allocations: 387.4 MB / 394.9 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.001191/0.001191, allocations: 180.9 kB / 487.4 MB, free: 5.047 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.543/1.543, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.000903/0.000903, allocations: 105.5 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.051e-05/2.053e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3682, allocations: 142.3 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.436, allocations: 150.4 MB / 1.353 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/1.436, allocations: 74.38 kB / 1.353 GB, free: 18.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04308/1.48, allocations: 18.27 MB / 1.371 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.01e-07/1.48, allocations: 0 / 1.371 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001272/1.48, allocations: 46.56 kB / 1.371 GB, free: 32.7 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.003348/1.483, allocations: 1.51 MB / 1.372 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.483, allocations: 11.53 kB / 1.372 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006041/1.484, allocations: 178.5 kB / 1.373 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.485, allocations: 0.7681 MB / 1.373 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.907e-05/1.485, allocations: 54.16 kB / 1.373 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002888/1.485, allocations: 93.06 kB / 1.373 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002335/1.488, allocations: 1.135 MB / 1.375 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/1.49, allocations: 1.113 MB / 1.376 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/1.49, allocations: 0 / 1.376 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/1.49, allocations: 7.906 kB / 1.376 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/1.49, allocations: 38.53 kB / 1.376 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007904/1.498, allocations: 4.363 MB / 1.38 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/1.5, allocations: 0.9782 MB / 1.381 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000529/1.501, allocations: 436 kB / 1.381 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.92e-05/1.501, allocations: 31.48 kB / 1.381 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.501, allocations: 46.16 kB / 1.381 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 3.286e-06/1.501, allocations: 0 / 1.381 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.001229/1.502, allocations: 0.8183 MB / 1.382 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/1.502, allocations: 60.44 kB / 1.382 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/1.503, allocations: 0.5527 MB / 1.383 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/1.503, allocations: 29.7 kB / 1.383 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/1.503, allocations: 0.6371 MB / 1.383 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/1.503, allocations: 353 kB / 1.384 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/1.503, allocations: 0 / 1.384 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.503, allocations: 394.4 kB / 1.384 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/1.504, allocations: 344.1 kB / 1.384 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/1.504, allocations: 457.4 kB / 1.385 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005387/1.505, allocations: 397.8 kB / 1.385 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.505, allocations: 3.406 kB / 1.385 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001319/1.506, allocations: 0.9741 MB / 1.386 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1.507, allocations: 283.4 kB / 1.386 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.507, allocations: 0 / 1.386 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.507, allocations: 3.906 kB / 1.386 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.508, allocations: 277.7 kB / 1.387 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/1.508, allocations: 7.719 kB / 1.387 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008015/1.508, allocations: 175.3 kB / 1.387 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.378e-05/1.508, allocations: 41.55 kB / 1.387 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/1.509, allocations: 3.844 kB / 1.387 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001112/1.51, allocations: 0.8242 MB / 1.388 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/1.51, allocations: 4.062 kB / 1.388 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/1.51, allocations: 3.844 kB / 1.388 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008561/1.511, allocations: 236.1 kB / 1.388 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.511, allocations: 11.77 kB / 1.388 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/1.511, allocations: 105.5 kB / 1.388 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/1.511, allocations: 40.67 kB / 1.388 GB, free: 26.66 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 137 * 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.0001822/1.511, allocations: 116.8 kB / 1.388 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/1.512, allocations: 89.25 kB / 1.388 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/1.513, allocations: 1.02 MB / 1.389 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.513, allocations: 15.47 kB / 1.389 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.513, allocations: 7.953 kB / 1.389 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.513, allocations: 3.984 kB / 1.389 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004527/1.518, allocations: 3.459 MB / 1.393 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.518, allocations: 11.72 kB / 1.393 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/1.518, allocations: 259.2 kB / 1.393 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.925e-05/1.519, allocations: 23.2 kB / 1.393 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.356e-05/1.519, allocations: 27.14 kB / 1.393 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/1.519, allocations: 23.44 kB / 1.393 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.046e-06/1.519, allocations: 15.44 kB / 1.393 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/1.52, allocations: 1.933 MB / 1.395 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/1.52, allocations: 208 kB / 1.395 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/1.521, allocations: 23.45 kB / 1.395 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008617/1.521, allocations: 135.6 kB / 1.395 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.522, allocations: 115.8 kB / 1.395 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/1.522, allocations: 53.7 kB / 1.396 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004496/1.522, allocations: 423.4 kB / 1.396 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.522, allocations: 0 / 1.396 GB, free: 22.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001187/1.523, allocations: 0.509 MB / 1.396 GB, free: 22.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 128 * 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.0002052/1.523, allocations: 137.6 kB / 1.397 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001794/1.525, allocations: 1.364 MB / 1.398 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.525, allocations: 3.906 kB / 1.398 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000644/1.526, allocations: 498.2 kB / 1.398 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/1.527, allocations: 114.9 kB / 1.398 GB, free: 22.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/1.53, allocations: 1.841 MB / 1.4 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/1.53, allocations: 1.191 MB / 1.401 GB, free: 20.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007767/1.531, allocations: 175.1 kB / 1.402 GB, free: 20.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/1.531, allocations: 88 kB / 1.402 GB, free: 20.51 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.531, allocations: 3.938 kB / 1.402 GB, free: 20.51 MB / 0.8386 GB Notification: Performance of Templates: time 0.01736/1.549, allocations: 9.744 MB / 1.411 GB, free: 14.58 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches