Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=92,variableFilter="time|cooCoi.yCooCoi|TSupSet|TSup.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=92,variableFilter="time|cooCoi.yCooCoi|TSupSet|TSup.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.563/1.563, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 180.8 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009833/0.0009833, allocations: 90.47 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.965e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2099, allocations: 106.3 MB / 0.8853 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6421/0.8521, allocations: 135.6 MB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.8523, allocations: 71.64 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01294/0.8653, allocations: 5.357 MB / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8653, allocations: 0 / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.8653, allocations: 4 kB / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0008277/0.8662, allocations: 0.5582 MB / 1.024 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.8662, allocations: 12.88 kB / 1.024 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.8663, allocations: 35.53 kB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.8668, allocations: 318.3 kB / 1.024 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.8668, allocations: 12 kB / 1.024 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.8668, allocations: 16 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003053/0.8672, allocations: 159 kB / 1.024 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.8675, allocations: 228.5 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.8675, allocations: 3.984 kB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.8676, allocations: 0 / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.8676, allocations: 11.94 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.8689, allocations: 0.8776 MB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.8692, allocations: 168.1 kB / 1.025 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.8693, allocations: 77.39 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.8694, allocations: 0 / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.8696, allocations: 118.2 kB / 1.026 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.8696, allocations: 0 / 1.026 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0003073/0.8699, allocations: 169.2 kB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.87, allocations: 81.11 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.8702, allocations: 218 kB / 1.026 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.8702, allocations: 25.7 kB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.8703, allocations: 177.1 kB / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.8704, allocations: 57.39 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.8704, allocations: 0 / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8705, allocations: 341.2 kB / 1.027 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.8706, allocations: 61.59 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.8708, allocations: 84.09 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.8709, allocations: 62.23 kB / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8709, allocations: 0 / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003055/0.8712, allocations: 185.1 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.8713, allocations: 181.6 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8713, allocations: 3.984 kB / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.8713, allocations: 4 kB / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.8716, allocations: 55.91 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.8716, allocations: 3.953 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.8719, allocations: 51.73 kB / 1.027 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.8719, allocations: 7.25 kB / 1.027 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.8719, allocations: 5.562 kB / 1.027 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002356/0.8721, allocations: 127.1 kB / 1.027 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.8721, allocations: 7.938 kB / 1.027 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-06/0.8722, allocations: 0 / 1.027 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.8724, allocations: 51.2 kB / 1.027 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.8724, allocations: 4 kB / 1.027 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.8726, allocations: 31.92 kB / 1.027 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.8726, allocations: 7.984 kB / 1.027 GB, free: 9.781 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.T_start,zonSta.T_start,$PRE.zonSta.count,zonSta.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0001114/0.8727, allocations: 108.9 kB / 1.028 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.8728, allocations: 27.11 kB / 1.028 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.648e-05/0.8728, allocations: 26.27 kB / 1.028 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8729, allocations: 3.938 kB / 1.028 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8729, allocations: 0 / 1.028 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.8729, allocations: 0 / 1.028 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.8735, allocations: 0.5422 MB / 1.028 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8735, allocations: 4 kB / 1.028 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.8737, allocations: 43.16 kB / 1.028 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8738, allocations: 3.984 kB / 1.028 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.8738, allocations: 4 kB / 1.028 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.8738, allocations: 4 kB / 1.028 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.8738, allocations: 4.031 kB / 1.028 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.8741, allocations: 284.2 kB / 1.028 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.8742, allocations: 100.6 kB / 1.029 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.8743, allocations: 0 / 1.029 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.8745, allocations: 35.91 kB / 1.029 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-05/0.8746, allocations: 30.27 kB / 1.029 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.8746, allocations: 4 kB / 1.029 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001427/0.8747, allocations: 169.9 kB / 1.029 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8747, allocations: 0 / 1.029 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003909/0.8751, allocations: 91.53 kB / 1.029 GB, free: 8.422 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.T_start,zonSta.count) * Number of discrete states: 1 (zonSta.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000141/0.8753, allocations: 121.2 kB / 1.029 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.8757, allocations: 223.2 kB / 1.029 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8757, allocations: 0 / 1.029 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.8758, allocations: 79.7 kB / 1.029 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.8762, allocations: 60.62 kB / 1.029 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007329/0.8769, allocations: 307.5 kB / 1.03 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.8773, allocations: 0.7723 MB / 1.03 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002234/0.8776, allocations: 46.03 kB / 1.03 GB, free: 6.922 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.8776, allocations: 19.44 kB / 1.03 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.8776, allocations: 0 / 1.03 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of Templates: time 0.006025/0.8837, allocations: 2.827 MB / 1.033 GB, free: 4.145 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches