Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006797/0.006797, allocations: 101.9 kB / 15.73 MB, free: 5.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.001571/0.001571, allocations: 186.9 kB / 16.67 MB, free: 5.422 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.086/2.086, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.84 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.681/0.6823, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003532/0.6859, allocations: 2.924 MB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.6879, allocations: 1.521 MB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.6881, allocations: 11.78 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.6885, allocations: 96.8 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.6889, allocations: 144.3 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008477/0.6897, allocations: 423.5 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.6902, allocations: 0.5284 MB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.6905, allocations: 206.5 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.6907, allocations: 203.1 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.6909, allocations: 195.7 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/0.691, allocations: 46.28 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.6912, allocations: 102.1 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.6913, allocations: 108.4 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.6915, allocations: 208.7 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006326/0.6921, allocations: 0.6019 MB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6922, allocations: 0.7969 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6922, allocations: 4.844 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.6922, allocations: 0 / 1.095 GB, free: 0.6641 MB / 0.8575 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.001111/0.6933, allocations: 0.7953 MB / 1.095 GB, free: 20 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.6933, allocations: 9.547 kB / 1.095 GB, free: 20 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.277e-05/0.6934, allocations: 65.84 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.576e-05/0.6935, allocations: 54.39 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.6942, allocations: 445.2 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.6943, allocations: 24.34 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.902e-05/0.6943, allocations: 29.88 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.695, allocations: 327.8 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.695, allocations: 3.984 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.695, allocations: 12.42 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.695, allocations: 6.594 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005389/0.6956, allocations: 211.3 kB / 1.096 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.697, allocations: 1.094 MB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.6977, allocations: 237.6 kB / 1.098 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.698, allocations: 113.2 kB / 1.098 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.698, allocations: 7.453 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003467/0.6984, allocations: 151 kB / 1.098 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.6984, allocations: 5.062 kB / 1.098 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.0008684/0.6992, allocations: 352.3 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.6993, allocations: 105.8 kB / 1.098 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/0.6998, allocations: 454 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.6999, allocations: 32.53 kB / 1.099 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.7001, allocations: 225 kB / 1.099 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.7001, allocations: 78.62 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.597e-05/0.7002, allocations: 60.28 kB / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.7004, allocations: 350.5 kB / 1.1 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.7006, allocations: 83.75 kB / 1.1 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.7009, allocations: 159.8 kB / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.7014, allocations: 223.4 kB / 1.1 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7014, allocations: 0.9375 kB / 1.1 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006512/0.7021, allocations: 304.8 kB / 1.1 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.7021, allocations: 5.25 kB / 1.1 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.7021, allocations: 2.562 kB / 1.1 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.7022, allocations: 7.531 kB / 1.1 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.7024, allocations: 49.14 kB / 1.1 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.7024, allocations: 4.172 kB / 1.1 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.7026, allocations: 30 kB / 1.1 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.7027, allocations: 12.36 kB / 1.1 GB, free: 12.7 MB / 0.8731 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.0002028/0.7029, allocations: 186.8 kB / 1.101 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.7029, allocations: 48.09 kB / 1.101 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.66e-05/0.703, allocations: 47.08 kB / 1.101 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.703, allocations: 2.281 kB / 1.101 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7031, allocations: 0.875 kB / 1.101 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.7031, allocations: 1.266 kB / 1.101 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.7035, allocations: 413.8 kB / 1.101 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7035, allocations: 4.5 kB / 1.101 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.7038, allocations: 37.92 kB / 1.101 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.7038, allocations: 1.344 kB / 1.101 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.7038, allocations: 7.984 kB / 1.101 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.7038, allocations: 5.531 kB / 1.101 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7038, allocations: 4.875 kB / 1.101 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.7048, allocations: 420.1 kB / 1.102 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.7049, allocations: 139.9 kB / 1.102 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.705, allocations: 6.375 kB / 1.102 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.7051, allocations: 18.95 kB / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.7052, allocations: 19.16 kB / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.7053, allocations: 7.609 kB / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003658/0.7056, allocations: 317.5 kB / 1.102 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7056, allocations: 0 / 1.102 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003466/0.706, allocations: 73.66 kB / 1.102 GB, free: 11.65 MB / 0.8731 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.002042/0.708, allocations: 1.286 MB / 1.103 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006635/0.7087, allocations: 228.7 kB / 1.104 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7087, allocations: 3.938 kB / 1.104 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.709, allocations: 113.8 kB / 1.104 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.7095, allocations: 102.1 kB / 1.104 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/0.7141, allocations: 3.414 MB / 1.107 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.7145, allocations: 0.816 MB / 1.108 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.7147, allocations: 58.36 kB / 1.108 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.715, allocations: 141.5 kB / 1.108 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/0.715, allocations: 0 / 1.108 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.743, allocations: 9.007 MB / 1.117 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.682, allocations: 5.594 kB / 1.117 GB, free: 6.711 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv --start-time 0 --stop-time 1080 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.432 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches