Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.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.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.VActMin_flow|dam.VActCooMax_flow|dam.VSet_flow|dam.TSup|dam.TZon|dam.uCoo|dam.uZonSta|dam.yDam|dam.oveFloSet|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VSet_flow|dam1.VDis_flow|dam1.TSup|dam1.TZon|dam1.uCoo|dam1.uZonSta|dam1.yDam|dam1.oveDamPos",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.VActMin_flow|dam.VActCooMax_flow|dam.VSet_flow|dam.TSup|dam.TZon|dam.uCoo|dam.uZonSta|dam.yDam|dam.oveFloSet|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VSet_flow|dam1.VDis_flow|dam1.TSup|dam1.TZon|dam1.uCoo|dam1.uZonSta|dam1.yDam|dam1.oveDamPos",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.301/2.301, allocations: 393.5 MB / 408.5 MB, free: 11.07 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.001157/0.001157, allocations: 178.9 kB / 0.4902 GB, free: 2.23 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.593/1.593, allocations: 223.2 MB / 0.7992 GB, free: 14.74 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.000866/0.000866, allocations: 105 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003943, allocations: 14.97 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2916, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.4849, allocations: 154.1 MB / 1.38 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/0.4852, allocations: 79.88 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03758/0.5228, allocations: 13.83 MB / 1.393 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5229, allocations: 0 / 1.393 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.647e-05/0.523, allocations: 31.92 kB / 1.393 GB, free: 1.461 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.00281/0.5258, allocations: 1.173 MB / 1.394 GB, free: 240 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5259, allocations: 8.828 kB / 1.394 GB, free: 232 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003596/0.5262, allocations: 122.5 kB / 1.395 GB, free: 108 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.5274, allocations: 0.5862 MB / 1.395 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.5275, allocations: 86.02 kB / 1.395 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.5277, allocations: 104 kB / 1.395 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.5299, allocations: 1.033 MB / 1.396 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.5299, allocations: 0 / 1.396 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.051e-05/0.53, allocations: 44 kB / 1.396 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.5301, allocations: 24 kB / 1.396 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.5321, allocations: 0.8709 MB / 1.397 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.5369, allocations: 2.679 MB / 1.4 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.5388, allocations: 0.8688 MB / 1.401 GB, free: 9.625 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/0.5389, allocations: 16.59 kB / 1.401 GB, free: 9.609 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.54, allocations: 484.2 kB / 1.401 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=77): time 3.136e-06/0.54, allocations: 0 / 1.401 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of matching and sorting (n=77): time 0.002539/0.5425, allocations: 1.045 MB / 1.402 GB, free: 8.066 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.5426, allocations: 137.2 kB / 1.402 GB, free: 7.902 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009548/0.5436, allocations: 0.6285 MB / 1.403 GB, free: 7.266 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.949e-05/0.5437, allocations: 41.7 kB / 1.403 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000398/0.5441, allocations: 412.5 kB / 1.403 GB, free: 6.809 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.5443, allocations: 224.7 kB / 1.404 GB, free: 6.586 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.5444, allocations: 16 kB / 1.404 GB, free: 6.57 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5445, allocations: 333.9 kB / 1.404 GB, free: 6.238 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/0.5453, allocations: 301.1 kB / 1.404 GB, free: 5.945 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/0.5461, allocations: 393.9 kB / 1.405 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007143/0.5468, allocations: 291.1 kB / 1.405 GB, free: 5.254 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5468, allocations: 0 / 1.405 GB, free: 5.254 MB / 0.9011 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001761/0.5486, allocations: 0.7813 MB / 1.406 GB, free: 4.465 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.5487, allocations: 196.6 kB / 1.406 GB, free: 4.258 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5487, allocations: 0 / 1.406 GB, free: 4.258 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.5487, allocations: 4 kB / 1.406 GB, free: 4.254 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.5495, allocations: 147.8 kB / 1.406 GB, free: 4.109 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.5495, allocations: 4 kB / 1.406 GB, free: 4.105 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/0.5502, allocations: 139.1 kB / 1.406 GB, free: 3.969 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.157e-05/0.5503, allocations: 19.98 kB / 1.406 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.5503, allocations: 4 kB / 1.406 GB, free: 3.945 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001497/0.5518, allocations: 0.6557 MB / 1.407 GB, free: 3.289 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.5518, allocations: 4 kB / 1.407 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.5518, allocations: 7.953 kB / 1.407 GB, free: 3.277 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.5524, allocations: 147.7 kB / 1.407 GB, free: 3.133 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.5524, allocations: 0 / 1.407 GB, free: 3.133 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/0.5531, allocations: 143.1 kB / 1.407 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.5532, allocations: 16 kB / 1.407 GB, free: 2.977 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,dam.uZonSta,dam.oveFloSet,dam.oveDamPos,$PRE.dam.gre.greHys.y,dam.gre.greHys.y,dam.actFlo.u2,dam.forZerFlo.y,dam.forMinFlo.y,dam.cooMax.u,dam.or3.y,dam.intEqu4.y,dam.cloDam.u,dam.or2.y,$PRE.dam1.gre.greHys.y,dam1.gre.greHys.y,dam1.actFlo.u2,dam1.forZerFlo.y,dam1.forMinFlo.y,dam1.cooMax.u,dam1.or3.y,dam1.intEqu4.y,dam1.cloDam.u,dam1.or2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0004975/0.5537, allocations: 322.2 kB / 1.407 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.5538, allocations: 86.95 kB / 1.408 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.5557, allocations: 0.8225 MB / 1.408 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.5557, allocations: 8 kB / 1.408 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5557, allocations: 0 / 1.408 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.5557, allocations: 3.984 kB / 1.408 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.559, allocations: 1.821 MB / 1.41 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.559, allocations: 0 / 1.41 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006752/0.5597, allocations: 151.8 kB / 1.41 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.5597, allocations: 4 kB / 1.41 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-05/0.5598, allocations: 19.98 kB / 1.41 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.5598, allocations: 4 kB / 1.41 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5598, allocations: 0 / 1.41 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.5625, allocations: 1.336 MB / 1.412 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.5627, allocations: 171.9 kB / 1.412 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.5628, allocations: 20 kB / 1.412 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.5634, allocations: 79.92 kB / 1.412 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.5636, allocations: 96.52 kB / 1.412 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.5637, allocations: 20 kB / 1.412 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006368/0.5643, allocations: 475 kB / 1.412 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5643, allocations: 0 / 1.412 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009196/0.5653, allocations: 299.1 kB / 1.413 GB, free: 13.13 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (dam1.conPID.I.y) * Number of discrete variables: 22 ($whenCondition1,dam.uZonSta,dam.oveFloSet,dam.oveDamPos,dam.gre.greHys.y,dam.actFlo.u2,dam.forZerFlo.y,dam.forMinFlo.y,dam.cooMax.u,dam.or3.y,dam.intEqu4.y,dam.cloDam.u,dam.or2.y,dam1.gre.greHys.y,dam1.actFlo.u2,dam1.forZerFlo.y,dam1.forMinFlo.y,dam1.cooMax.u,dam1.or3.y,dam1.intEqu4.y,dam1.cloDam.u,dam1.or2.y) * Number of discrete states: 2 (dam.gre.greHys.y,dam1.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 79 * 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.0003081/0.5656, allocations: 163.1 kB / 1.413 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002674/0.5683, allocations: 1.114 MB / 1.414 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5683, allocations: 0 / 1.414 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009349/0.5692, allocations: 427.7 kB / 1.414 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.5698, allocations: 110.9 kB / 1.414 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.5729, allocations: 1.743 MB / 1.416 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/0.5737, allocations: 1.01 MB / 1.417 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00051/0.5742, allocations: 101.4 kB / 1.417 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.5744, allocations: 63.42 kB / 1.417 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of SimCode: time 3.21e-07/0.5745, allocations: 0 / 1.417 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of Templates: time 0.01604/0.5905, allocations: 7.767 MB / 1.425 GB, free: 0.6719 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches