Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_10_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.007252/0.007252, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001703/0.001703, allocations: 189.4 kB / 16.67 MB, free: 5.875 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.251/2.251, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 60.12 kB / 1.018 GB, free: 9.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6905/0.6918, allocations: 151.6 MB / 1.166 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004278/0.6961, allocations: 2.913 MB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.6987, allocations: 1.519 MB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.699, allocations: 11.94 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.6995, allocations: 115.1 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.6999, allocations: 143.1 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009814/0.7009, allocations: 406.2 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005994/0.7015, allocations: 0.5383 MB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/0.7019, allocations: 205.1 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.7022, allocations: 203.1 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.7025, allocations: 199 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.7025, allocations: 47.94 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.7027, allocations: 103.9 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.7029, allocations: 107.6 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.7031, allocations: 210.8 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006748/0.7038, allocations: 0.6104 MB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.7038, allocations: 0 / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7038, allocations: 0 / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.7038, allocations: 0 / 1.173 GB, free: 12.52 MB / 0.9044 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.001267/0.7051, allocations: 0.7995 MB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.7051, allocations: 12.03 kB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.39e-05/0.7052, allocations: 62.72 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.514e-05/0.7053, allocations: 52.61 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/0.706, allocations: 442.8 kB / 1.175 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.706, allocations: 24.69 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.7061, allocations: 39.89 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000575/0.7066, allocations: 327.9 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.7067, allocations: 0 / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.7067, allocations: 12 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.7067, allocations: 12 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.7072, allocations: 214.1 kB / 1.175 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.7086, allocations: 1.085 MB / 1.176 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/0.7092, allocations: 242.9 kB / 1.176 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.7095, allocations: 116.8 kB / 1.177 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.7095, allocations: 3.984 kB / 1.177 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003287/0.7098, allocations: 153.6 kB / 1.177 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/0.7098, allocations: 4 kB / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.0008096/0.7107, allocations: 361 kB / 1.177 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.7107, allocations: 106.8 kB / 1.177 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.7112, allocations: 453.8 kB / 1.178 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.7112, allocations: 29.7 kB / 1.178 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.7114, allocations: 228.7 kB / 1.178 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.7115, allocations: 75.38 kB / 1.178 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/0.7116, allocations: 49.7 kB / 1.178 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7117, allocations: 362.8 kB / 1.178 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.712, allocations: 87.95 kB / 1.178 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.7122, allocations: 159.6 kB / 1.179 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.7127, allocations: 219.9 kB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7127, allocations: 7.938 kB / 1.179 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000598/0.7133, allocations: 303.8 kB / 1.179 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.7133, allocations: 4 kB / 1.179 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7134, allocations: 4 kB / 1.179 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.7134, allocations: 3.938 kB / 1.179 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.7136, allocations: 52.06 kB / 1.179 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.7136, allocations: 11.98 kB / 1.179 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.7138, allocations: 27.78 kB / 1.179 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.7139, allocations: 15.98 kB / 1.179 GB, free: 6.113 MB / 0.9044 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.00018/0.714, allocations: 179 kB / 1.179 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/0.7141, allocations: 51.66 kB / 1.179 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.503e-05/0.7142, allocations: 39.84 kB / 1.179 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7142, allocations: 4 kB / 1.179 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7142, allocations: 4 kB / 1.179 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.7142, allocations: 3.984 kB / 1.179 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.7146, allocations: 421.2 kB / 1.18 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7146, allocations: 0 / 1.18 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.7148, allocations: 35.92 kB / 1.18 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7148, allocations: 0 / 1.18 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.7149, allocations: 11.98 kB / 1.18 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.7149, allocations: 0 / 1.18 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7149, allocations: 0 / 1.18 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.7157, allocations: 424.4 kB / 1.18 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.7159, allocations: 140.8 kB / 1.18 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.7159, allocations: 8 kB / 1.18 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.7161, allocations: 11.98 kB / 1.18 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.7162, allocations: 23.97 kB / 1.181 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.7162, allocations: 12.06 kB / 1.181 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003338/0.7165, allocations: 323.1 kB / 1.181 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7165, allocations: 0 / 1.181 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003111/0.7169, allocations: 79.78 kB / 1.181 GB, free: 4.289 MB / 0.9044 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.001923/0.7188, allocations: 1.292 MB / 1.182 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.7193, allocations: 218.3 kB / 1.182 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7193, allocations: 0 / 1.182 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.7196, allocations: 116.2 kB / 1.182 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.7201, allocations: 113.4 kB / 1.183 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.7245, allocations: 3.417 MB / 1.186 GB, free: 15.17 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.7249, allocations: 0.8109 MB / 1.187 GB, free: 14.33 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001788/0.7251, allocations: 55.25 kB / 1.187 GB, free: 14.27 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.7253, allocations: 143.4 kB / 1.187 GB, free: 14.13 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.7253, allocations: 0 / 1.187 GB, free: 14.13 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.7526, allocations: 8.999 MB / 1.196 GB, free: 5.328 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/8.379, allocations: 18.62 kB / 1.196 GB, free: 5.312 MB / 0.92 GB (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches