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.CoolingCoil.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.CoolingCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=92,variableFilter="time|cooCoi.yCooCoi|TSupSet|TSup.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=92,variableFilter="time|cooCoi.yCooCoi|TSupSet|TSup.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.114/2.114, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001144/0.001144, allocations: 180.9 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.529/1.529, allocations: 221.5 MB / 0.7824 GB, free: 0.957 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.0008507/0.0008508, allocations: 98.95 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.877e-05, allocations: 5.953 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3651, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9374/1.303, allocations: 151.4 MB / 1.354 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.303, allocations: 77.02 kB / 1.354 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01421/1.317, allocations: 5.495 MB / 1.359 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/1.317, allocations: 3.938 kB / 1.359 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.835e-05/1.317, allocations: 3.844 kB / 1.359 GB, free: 33.88 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000709/1.318, allocations: 0.5445 MB / 1.36 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.318, allocations: 15.66 kB / 1.36 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/1.318, allocations: 31.03 kB / 1.36 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/1.319, allocations: 311.7 kB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/1.319, allocations: 11.12 kB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/1.319, allocations: 20.7 kB / 1.36 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002494/1.319, allocations: 126.8 kB / 1.36 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/1.319, allocations: 201.2 kB / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.319, allocations: 0 / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/1.319, allocations: 0 / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/1.319, allocations: 7.469 kB / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/1.32, allocations: 0.8197 MB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/1.321, allocations: 147.7 kB / 1.362 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.192e-05/1.321, allocations: 72.02 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/1.321, allocations: 3.906 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/1.321, allocations: 100.3 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 2.304e-06/1.321, allocations: 4 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002756/1.321, allocations: 150.7 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.321, allocations: 80.11 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/1.321, allocations: 209.9 kB / 1.362 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/1.321, allocations: 25.7 kB / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/1.322, allocations: 178.9 kB / 1.362 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/1.322, allocations: 40.73 kB / 1.362 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/1.322, allocations: 3.875 kB / 1.362 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.322, allocations: 329.5 kB / 1.363 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/1.322, allocations: 72.73 kB / 1.363 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/1.322, allocations: 109 kB / 1.363 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/1.322, allocations: 71.75 kB / 1.363 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.322, allocations: 0 / 1.363 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003965/1.323, allocations: 235 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/1.323, allocations: 393.7 kB / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.323, allocations: 3.953 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.323, allocations: 3.812 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/1.323, allocations: 36.98 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/1.323, allocations: 0 / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/1.323, allocations: 70.23 kB / 1.364 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/1.323, allocations: 10.42 kB / 1.364 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/1.323, allocations: 4.938 kB / 1.364 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003552/1.324, allocations: 188.3 kB / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/1.324, allocations: 0 / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-06/1.324, allocations: 0 / 1.364 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/1.324, allocations: 39.86 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-06/1.324, allocations: 0 / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/1.324, allocations: 57.64 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/1.324, allocations: 10.78 kB / 1.364 GB, free: 31.37 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.booPul.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 9.715e-05/1.324, allocations: 122 kB / 1.364 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/1.324, allocations: 19.56 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/1.324, allocations: 23.67 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/1.324, allocations: 4 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.324, allocations: 0 / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.324, allocations: 2.953 kB / 1.364 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/1.325, allocations: 275.5 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.325, allocations: 3.844 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/1.325, allocations: 31.7 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/1.325, allocations: 0 / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/1.325, allocations: 7.094 kB / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.325, allocations: 0 / 1.364 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.325, allocations: 4 kB / 1.364 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/1.325, allocations: 174.9 kB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/1.325, allocations: 106.9 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/1.325, allocations: 0 / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/1.325, allocations: 17.25 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/1.325, allocations: 21.38 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/1.325, allocations: 11.53 kB / 1.365 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001203/1.326, allocations: 160.3 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.326, allocations: 0 / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003468/1.326, allocations: 97.22 kB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000164/1.326, allocations: 117.8 kB / 1.365 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004489/1.326, allocations: 384.7 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.327, allocations: 4.062 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.949e-05/1.327, allocations: 66.56 kB / 1.365 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/1.327, allocations: 40.84 kB / 1.366 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005873/1.328, allocations: 314.9 kB / 1.366 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/1.328, allocations: 0.7618 MB / 1.367 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001724/1.328, allocations: 36.17 kB / 1.367 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/1.328, allocations: 14.91 kB / 1.367 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.328, allocations: 0 / 1.367 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.005966/1.334, allocations: 3.486 MB / 1.37 GB, free: 29.42 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_CoolingCoil.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.CoolingCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches