Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009847/0.0009847, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9873/0.9873, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.392/2.392, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.507e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005103/0.005128, allocations: 2.898 MB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003301/0.008429, allocations: 1.693 MB / 0.8431 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.008796, allocations: 15.88 kB / 0.8431 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004713/0.009267, allocations: 111 kB / 0.8432 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005333/0.0098, allocations: 190.8 kB / 0.8434 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009114/0.01071, allocations: 394.9 kB / 0.8438 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0006555/0.01137, allocations: 0.5576 MB / 0.8443 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.01164, allocations: 136.3 kB / 0.8444 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.01211, allocations: 307.1 kB / 0.8447 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.01235, allocations: 147.5 kB / 0.8449 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.01241, allocations: 40 kB / 0.8449 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.01265, allocations: 115.8 kB / 0.845 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.01277, allocations: 107.6 kB / 0.8451 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.01289, allocations: 119.6 kB / 0.8452 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005786/0.01347, allocations: 394.4 kB / 0.8456 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01347, allocations: 0 / 0.8456 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01347, allocations: 4 kB / 0.8456 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.01348, allocations: 0 / 0.8456 GB, free: 6.918 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009816/0.01446, allocations: 0.7028 MB / 0.8463 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.0145, allocations: 11.97 kB / 0.8463 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.01474, allocations: 68.88 kB / 0.8464 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.01528, allocations: 349 kB / 0.8467 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.01532, allocations: 25.03 kB / 0.8467 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.01536, allocations: 28.38 kB / 0.8468 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/0.01577, allocations: 268.1 kB / 0.847 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.01578, allocations: 4 kB / 0.847 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.01581, allocations: 8 kB / 0.847 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.01582, allocations: 8 kB / 0.8471 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.016, allocations: 78.22 kB / 0.8471 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009969/0.017, allocations: 0.7131 MB / 0.8478 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.01731, allocations: 172 kB / 0.848 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.01739, allocations: 44.83 kB / 0.848 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.01741, allocations: 4 kB / 0.848 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.01759, allocations: 117.9 kB / 0.8481 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 2.605e-06/0.0176, allocations: 0 / 0.8481 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0003077/0.0179, allocations: 145.5 kB / 0.8483 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.01794, allocations: 59.39 kB / 0.8483 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.0183, allocations: 368.9 kB / 0.8487 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.01832, allocations: 29.7 kB / 0.8487 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.01844, allocations: 189.5 kB / 0.8489 GB, free: 3.375 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.0185, allocations: 75.36 kB / 0.849 GB, free: 3.301 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/0.01859, allocations: 53.67 kB / 0.849 GB, free: 3.242 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.01871, allocations: 362.6 kB / 0.8494 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-05/0.01878, allocations: 34.69 kB / 0.8494 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.01889, allocations: 103.7 kB / 0.8495 GB, free: 2.715 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.01908, allocations: 125.5 kB / 0.8496 GB, free: 2.574 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01908, allocations: 0 / 0.8496 GB, free: 2.574 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002586/0.01934, allocations: 158 kB / 0.8498 GB, free: 2.414 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.01936, allocations: 4 kB / 0.8498 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.01936, allocations: 0 / 0.8498 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.01938, allocations: 4 kB / 0.8498 GB, free: 2.406 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.01958, allocations: 51.91 kB / 0.8498 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01959, allocations: 7.938 kB / 0.8498 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.01971, allocations: 27.83 kB / 0.8499 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.01973, allocations: 8.156 kB / 0.8499 GB, free: 2.312 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0001297/0.01986, allocations: 134.1 kB / 0.85 GB, free: 2.172 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.01991, allocations: 23.97 kB / 0.85 GB, free: 2.148 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.02018, allocations: 157.4 kB / 0.8502 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.02019, allocations: 4 kB / 0.8502 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.02019, allocations: 0 / 0.8502 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.0202, allocations: 3.938 kB / 0.8502 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.02046, allocations: 205.6 kB / 0.8504 GB, free: 1.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02046, allocations: 4 kB / 0.8504 GB, free: 1.758 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.02063, allocations: 39.98 kB / 0.8504 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.02063, allocations: 0 / 0.8504 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.02065, allocations: 7.922 kB / 0.8504 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.02065, allocations: 8 kB / 0.8504 GB, free: 1.703 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02065, allocations: 0 / 0.8504 GB, free: 1.703 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.02099, allocations: 199.9 kB / 0.8506 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.02108, allocations: 47.64 kB / 0.8507 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.02112, allocations: 4 kB / 0.8507 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.02122, allocations: 16.03 kB / 0.8507 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.02129, allocations: 19.95 kB / 0.8507 GB, free: 1.402 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.02131, allocations: 4 kB / 0.8507 GB, free: 1.398 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001925/0.0215, allocations: 163.5 kB / 0.8509 GB, free: 1.234 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.31e-07/0.0215, allocations: 0 / 0.8509 GB, free: 1.234 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003359/0.02184, allocations: 75.83 kB / 0.8509 GB, free: 1.16 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/0.02353, allocations: 0.5276 MB / 0.8515 GB, free: 0.8633 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.02386, allocations: 122.8 kB / 0.8516 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/0.02387, allocations: 4 kB / 0.8516 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.02401, allocations: 52.78 kB / 0.8516 GB, free: 0.6836 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.02434, allocations: 115.8 kB / 0.8517 GB, free: 0.5781 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.02539, allocations: 0.6472 MB / 0.8524 GB, free: 15.89 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.716e-05/0.02545, allocations: 108.5 kB / 0.8525 GB, free: 15.77 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.02557, allocations: 51.25 kB / 0.8525 GB, free: 15.72 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.02575, allocations: 123.3 kB / 0.8526 GB, free: 15.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.493e-06/0.02575, allocations: 3.938 kB / 0.8526 GB, free: 15.6 MB / 0.823 GB Notification: Performance of Templates: time 0.007468/0.03322, allocations: 5.212 MB / 0.8577 GB, free: 10.53 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.338059866800904]