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.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 104 kB / 16.41 MB, free: 6.508 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.001159/0.001159, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.374/2.374, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.84 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6681/0.6693, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004075/0.6734, allocations: 2.93 MB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0025/0.676, allocations: 1.504 MB / 1.213 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003663/0.6764, allocations: 15.94 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.6768, allocations: 107.1 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004686/0.6773, allocations: 135.1 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009655/0.6783, allocations: 414.1 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006248/0.6789, allocations: 0.5383 MB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.6793, allocations: 197.1 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.6796, allocations: 211.1 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.6799, allocations: 198.9 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.872e-05/0.68, allocations: 44 kB / 1.215 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.6802, allocations: 99.95 kB / 1.215 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.6803, allocations: 107.6 kB / 1.215 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.6805, allocations: 210.8 kB / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.6811, allocations: 0.5972 MB / 1.216 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6811, allocations: 0 / 1.216 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6811, allocations: 0 / 1.216 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.6812, allocations: 4 kB / 1.216 GB, free: 6.375 MB / 0.9356 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.001228/0.6824, allocations: 0.7843 MB / 1.216 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.6824, allocations: 12.03 kB / 1.216 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.6825, allocations: 48.38 kB / 1.216 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006335/0.6832, allocations: 458.3 kB / 1.217 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.6832, allocations: 20.94 kB / 1.217 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.6833, allocations: 31.92 kB / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.6839, allocations: 331.9 kB / 1.217 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.6839, allocations: 0 / 1.217 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.6839, allocations: 12 kB / 1.217 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.6839, allocations: 4 kB / 1.217 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.6844, allocations: 214.1 kB / 1.217 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.6857, allocations: 1.089 MB / 1.218 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.6862, allocations: 246.8 kB / 1.219 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.6865, allocations: 116.8 kB / 1.219 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.6865, allocations: 0 / 1.219 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003144/0.6868, allocations: 153.8 kB / 1.219 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.472e-06/0.6868, allocations: 0 / 1.219 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0007632/0.6876, allocations: 356.8 kB / 1.219 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.6877, allocations: 102.8 kB / 1.219 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.6881, allocations: 461.8 kB / 1.22 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.6882, allocations: 29.7 kB / 1.22 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.6883, allocations: 228.5 kB / 1.22 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.6884, allocations: 74.98 kB / 1.22 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.6885, allocations: 53.61 kB / 1.22 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6886, allocations: 358.8 kB / 1.221 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.6888, allocations: 79.95 kB / 1.221 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.6891, allocations: 168.9 kB / 1.221 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.6895, allocations: 225.1 kB / 1.221 GB, free: 492 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6895, allocations: 3.938 kB / 1.221 GB, free: 488 kB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000587/0.6901, allocations: 304.8 kB / 1.221 GB, free: 176 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.6901, allocations: 4 kB / 1.221 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.6901, allocations: 0 / 1.221 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.6901, allocations: 4 kB / 1.221 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.6904, allocations: 55.91 kB / 1.221 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.6904, allocations: 3.984 kB / 1.221 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.6906, allocations: 27.75 kB / 1.221 GB, free: 80 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.6906, allocations: 15.98 kB / 1.221 GB, free: 64 kB / 0.9356 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.0001834/0.6908, allocations: 181.8 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.6909, allocations: 47.47 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9e-05/0.6909, allocations: 47.83 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.691, allocations: 0 / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.691, allocations: 0 / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.691, allocations: 7.984 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.6913, allocations: 409.3 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6913, allocations: 3.938 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.6915, allocations: 35.92 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.6916, allocations: 4 kB / 1.222 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.6916, allocations: 7.984 kB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.6916, allocations: 4 kB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6916, allocations: 0 / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007774/0.6924, allocations: 418.5 kB / 1.222 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.6925, allocations: 144.5 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.6926, allocations: 4 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.6927, allocations: 15.98 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.6928, allocations: 23.91 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.6928, allocations: 8 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003013/0.6931, allocations: 319.1 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6932, allocations: 0 / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003001/0.6935, allocations: 75.84 kB / 1.223 GB, free: 14.25 MB / 0.9512 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.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.0009075/0.6944, allocations: 440.9 kB / 1.223 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005033/0.6949, allocations: 219.6 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6949, allocations: 0 / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.6951, allocations: 118.2 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.6956, allocations: 111.8 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.6967, allocations: 0.7076 MB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.697, allocations: 0.811 MB / 1.225 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.6971, allocations: 35.42 kB / 1.225 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.6971, allocations: 0 / 1.225 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of Templates: time 0.008995/0.7061, allocations: 5.669 MB / 1.231 GB, free: 6.301 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches