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.000846/0.000846, allocations: 80.75 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.0009769/0.0009769, allocations: 181 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.9717/0.9717, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.345/2.345, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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.363e-06/1.363e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.509e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003085/0.0031, allocations: 2.858 MB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.004964, allocations: 1.702 MB / 0.843 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.005143, allocations: 15.88 kB / 0.843 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.005455, allocations: 103.1 kB / 0.8431 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.005785, allocations: 194.8 kB / 0.8433 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006314/0.006416, allocations: 395 kB / 0.8437 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.006814, allocations: 0.5576 MB / 0.8442 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.006993, allocations: 136.3 kB / 0.8444 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.007282, allocations: 311.1 kB / 0.8447 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.007429, allocations: 139.5 kB / 0.8448 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.007467, allocations: 48 kB / 0.8448 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.007613, allocations: 103.9 kB / 0.8449 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-05/0.007701, allocations: 111.5 kB / 0.845 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.615e-05/0.007787, allocations: 119.6 kB / 0.8452 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.008152, allocations: 402.4 kB / 0.8455 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.008154, allocations: 0 / 0.8455 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.12e-07/0.008154, allocations: 0 / 0.8455 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.008158, allocations: 0 / 0.8455 GB, free: 7.043 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.0006943/0.008853, allocations: 0.7067 MB / 0.8462 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.008881, allocations: 8.031 kB / 0.8462 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.009033, allocations: 68.88 kB / 0.8463 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.009388, allocations: 345 kB / 0.8466 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.009415, allocations: 21.03 kB / 0.8467 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.009448, allocations: 28.31 kB / 0.8467 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.009714, allocations: 276.1 kB / 0.8469 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.009723, allocations: 0 / 0.8469 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.009741, allocations: 12 kB / 0.847 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.009748, allocations: 4 kB / 0.847 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.009855, allocations: 74.22 kB / 0.847 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.01062, allocations: 0.7132 MB / 0.8477 GB, free: 4.688 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.01084, allocations: 179.9 kB / 0.8479 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.01089, allocations: 40.84 kB / 0.8479 GB, free: 4.457 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.0109, allocations: 4 kB / 0.8479 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.01102, allocations: 106.6 kB / 0.848 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 1.333e-06/0.01102, allocations: 0 / 0.848 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.0002089/0.01123, allocations: 152.6 kB / 0.8482 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.01125, allocations: 63.41 kB / 0.8483 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.01149, allocations: 368.9 kB / 0.8486 GB, free: 3.734 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.01151, allocations: 33.7 kB / 0.8486 GB, free: 3.695 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.01159, allocations: 189.5 kB / 0.8488 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.01163, allocations: 71.36 kB / 0.8489 GB, free: 3.434 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.01168, allocations: 53.67 kB / 0.8489 GB, free: 3.375 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.548e-05/0.01177, allocations: 366.6 kB / 0.8493 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.01181, allocations: 18.83 kB / 0.8493 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.01188, allocations: 111.7 kB / 0.8494 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.01199, allocations: 117.3 kB / 0.8495 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.012, allocations: 4 kB / 0.8495 GB, free: 2.715 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001619/0.01216, allocations: 164.1 kB / 0.8497 GB, free: 2.547 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.01217, allocations: 8 kB / 0.8497 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01217, allocations: 4.156 kB / 0.8497 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.01219, allocations: 4 kB / 0.8497 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.0123, allocations: 47.91 kB / 0.8497 GB, free: 2.484 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.01231, allocations: 7.922 kB / 0.8498 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.148e-05/0.01238, allocations: 23.84 kB / 0.8498 GB, free: 2.453 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.0124, allocations: 11.98 kB / 0.8498 GB, free: 2.441 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 8.796e-05/0.01248, allocations: 126.1 kB / 0.8499 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.01251, allocations: 31.97 kB / 0.8499 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.01269, allocations: 151.3 kB / 0.8501 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01269, allocations: 0 / 0.8501 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01269, allocations: 4 kB / 0.8501 GB, free: 2.121 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.0127, allocations: 11.91 kB / 0.8501 GB, free: 2.109 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.01287, allocations: 205.6 kB / 0.8503 GB, free: 1.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01287, allocations: 0 / 0.8503 GB, free: 1.891 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.486e-05/0.01296, allocations: 39.91 kB / 0.8503 GB, free: 1.852 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01296, allocations: 0 / 0.8503 GB, free: 1.852 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01298, allocations: 11.94 kB / 0.8503 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.01298, allocations: 0 / 0.8503 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01298, allocations: 4 kB / 0.8503 GB, free: 1.836 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.01319, allocations: 204.1 kB / 0.8505 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.01326, allocations: 43.64 kB / 0.8506 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.01328, allocations: 8 kB / 0.8506 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-05/0.01334, allocations: 15.92 kB / 0.8506 GB, free: 1.551 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.01339, allocations: 19.97 kB / 0.8506 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.0134, allocations: 3.984 kB / 0.8506 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001192/0.01352, allocations: 155.5 kB / 0.8508 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01352, allocations: 0 / 0.8508 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001805/0.0137, allocations: 83.84 kB / 0.8509 GB, free: 1.289 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.001074/0.01478, allocations: 0.5318 MB / 0.8514 GB, free: 0.9883 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.01493, allocations: 104.5 kB / 0.8515 GB, free: 0.8828 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.01493, allocations: 4 kB / 0.8515 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.01501, allocations: 66.8 kB / 0.8515 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.01524, allocations: 112.3 kB / 0.8516 GB, free: 0.707 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008493/0.01609, allocations: 0.6449 MB / 0.8523 GB, free: 28 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.763e-05/0.01616, allocations: 112.5 kB / 0.8524 GB, free: 15.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.01626, allocations: 51.25 kB / 0.8524 GB, free: 15.85 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.01642, allocations: 127.3 kB / 0.8526 GB, free: 15.73 MB / 0.823 GB Notification: Performance of SimCode: time 5.41e-07/0.01642, allocations: 0 / 0.8526 GB, free: 15.73 MB / 0.823 GB Notification: Performance of Templates: time 0.007091/0.02351, allocations: 5.206 MB / 0.8576 GB, free: 10.67 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 -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.224282592069358]