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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 116.2 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.842/2.842, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 75.88 kB / 1.066 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, allocations: 159.1 MB / 1.221 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers): time 0.004956/1.033, allocations: 2.61 MB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003589/1.037, allocations: 1.864 MB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007399/1.038, allocations: 15.94 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004792/1.038, allocations: 98.8 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005379/1.039, allocations: 114.9 kB / 1.226 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/1.04, allocations: 424.2 kB / 1.226 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001235/1.041, allocations: 0.9001 MB / 1.227 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007737/1.042, allocations: 471.8 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/1.042, allocations: 346.7 kB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000584/1.043, allocations: 386.2 kB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002208/1.043, allocations: 100 kB / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/1.044, allocations: 116 kB / 1.228 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/1.044, allocations: 199.4 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004439/1.044, allocations: 397.9 kB / 1.229 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/1.046, allocations: 1.212 MB / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.046, allocations: 0 / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.134e-06/1.046, allocations: 0 / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.1e-05/1.046, allocations: 0 / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.002685/1.048, allocations: 1.066 MB / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/1.048, allocations: 8.625 kB / 1.231 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/1.049, allocations: 84 kB / 1.231 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/1.05, allocations: 0.6204 MB / 1.232 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/1.05, allocations: 62.38 kB / 1.232 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/1.051, allocations: 68.38 kB / 1.232 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/1.052, allocations: 0.6889 MB / 1.232 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.052, allocations: 3.938 kB / 1.232 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/1.052, allocations: 28 kB / 1.232 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/1.052, allocations: 20 kB / 1.232 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/1.054, allocations: 0.5387 MB / 1.233 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/1.057, allocations: 1.913 MB / 1.235 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/1.058, allocations: 0.5585 MB / 1.235 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/1.059, allocations: 246 kB / 1.236 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/1.059, allocations: 8.438 kB / 1.236 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007045/1.06, allocations: 289.2 kB / 1.236 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=52): time 3.005e-06/1.06, allocations: 3.938 kB / 1.236 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of matching and sorting (n=52): time 0.001862/1.062, allocations: 0.6545 MB / 1.237 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/1.062, allocations: 81.55 kB / 1.237 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/1.062, allocations: 433.6 kB / 1.237 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.791e-05/1.062, allocations: 45.62 kB / 1.237 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/1.063, allocations: 336 kB / 1.237 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/1.063, allocations: 157.8 kB / 1.238 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/1.063, allocations: 134.3 kB / 1.238 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001848/1.063, allocations: 358.8 kB / 1.238 GB, free: 484 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006217/1.064, allocations: 223.3 kB / 1.238 GB, free: 260 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007318/1.065, allocations: 382.5 kB / 1.239 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/1.066, allocations: 0.5664 MB / 1.239 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.066, allocations: 4 kB / 1.239 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001647/1.068, allocations: 0.6846 MB / 1.24 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.93e-05/1.068, allocations: 39.92 kB / 1.24 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.068, allocations: 4 kB / 1.24 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/1.068, allocations: 8 kB / 1.24 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/1.068, allocations: 127.8 kB / 1.24 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.613e-05/1.068, allocations: 11.94 kB / 1.24 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/1.069, allocations: 111.3 kB / 1.24 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/1.069, allocations: 27.98 kB / 1.24 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007731/1.07, allocations: 345.3 kB / 1.241 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007075/1.071, allocations: 358.6 kB / 1.241 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001117/1.072, allocations: 0.5469 MB / 1.241 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.278e-06/1.072, allocations: 0 / 1.241 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001541/1.073, allocations: 0.6606 MB / 1.242 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/1.073, allocations: 42.28 kB / 1.242 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/1.073, allocations: 4 kB / 1.242 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/1.073, allocations: 12 kB / 1.242 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/1.074, allocations: 119.8 kB / 1.242 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/1.074, allocations: 11.94 kB / 1.242 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/1.074, allocations: 87.52 kB / 1.242 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/1.075, allocations: 31.98 kB / 1.242 GB, free: 11.78 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.dam1.gre.greHys.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2,dam1.conInt5.y,dam1.conInt4.y,dam1.conInt3.y,dam1.conInt2.y,dam1.conInt1.y,dam1.conInt.y,dam1.gre.greHys.y,reaToInt3.y,reaToInt1.y,reaToInt2.y,dam1.or1.y,dam1.or2.y,dam1.intEqu4.y,dam1.intEqu3.y,dam1.or3.y,dam1.forMinFlo.y,dam1.forCooMax.y,dam1.forZerFlo.y,dam1.cooSta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002886/1.075, allocations: 228.8 kB / 1.243 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/1.075, allocations: 59.28 kB / 1.243 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/1.076, allocations: 0.5173 MB / 1.243 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/1.076, allocations: 11.97 kB / 1.243 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.076, allocations: 0 / 1.243 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/1.077, allocations: 132.3 kB / 1.243 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/1.077, allocations: 12 kB / 1.243 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/1.077, allocations: 31.95 kB / 1.243 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/1.077, allocations: 68.36 kB / 1.243 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001542/1.079, allocations: 0.5893 MB / 1.244 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001913/1.081, allocations: 0.9072 MB / 1.245 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005682/1.081, allocations: 247.3 kB / 1.245 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003549/1.082, allocations: 275.2 kB / 1.245 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of Backend: time 5.51e-07/1.082, allocations: 3.938 kB / 1.245 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002251/1.084, allocations: 0.8544 MB / 1.246 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0022/1.086, allocations: 1.404 MB / 1.248 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.01835/1.104, allocations: 8.962 MB / 1.256 GB, free: 13.44 MB / 0.9825 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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