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.007662/0.007662, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.0019/0.0019, allocations: 197.4 kB / 16.67 MB, free: 5.934 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.477/2.477, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.245, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003915/0.249, allocations: 2.923 MB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.2512, allocations: 1.508 MB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.2514, allocations: 11.94 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.2518, allocations: 107.2 kB / 1.171 GB, free: 2.773 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.2521, allocations: 147.1 kB / 1.171 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008324/0.2529, allocations: 412.9 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004899/0.2534, allocations: 0.5344 MB / 1.172 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.2537, allocations: 201.1 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.254, allocations: 207.1 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.2542, allocations: 199 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.2543, allocations: 47.94 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.2545, allocations: 99.95 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.2546, allocations: 107.7 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.2548, allocations: 214.7 kB / 1.173 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005794/0.2554, allocations: 0.6032 MB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2554, allocations: 0 / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2554, allocations: 0 / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2554, allocations: 0 / 1.173 GB, free: 32 kB / 0.92 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.001144/0.2565, allocations: 0.815 MB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.2566, allocations: 8.031 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.471e-05/0.2566, allocations: 62.72 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.85e-05/0.2567, allocations: 56.61 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.2573, allocations: 446.8 kB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.2574, allocations: 24.69 kB / 1.175 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.2574, allocations: 27.95 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.258, allocations: 331.9 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.258, allocations: 0 / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.258, allocations: 12 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.258, allocations: 11.94 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.2585, allocations: 210.1 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.2598, allocations: 1.105 MB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.2604, allocations: 234.9 kB / 1.177 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.2607, allocations: 112.8 kB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.2607, allocations: 7.984 kB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.2611, allocations: 165.2 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.2611, allocations: 0 / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0008153/0.2619, allocations: 350.6 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.262, allocations: 110.8 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/0.2625, allocations: 457.9 kB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.2625, allocations: 33.7 kB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.2626, allocations: 224.7 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/0.2627, allocations: 75.39 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.2628, allocations: 53.69 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2629, allocations: 350.8 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.2632, allocations: 83.95 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.2634, allocations: 161.2 kB / 1.179 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.2639, allocations: 219 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2639, allocations: 0 / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006194/0.2645, allocations: 309.1 kB / 1.179 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2646, allocations: 11.94 kB / 1.179 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2646, allocations: 0 / 1.179 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2646, allocations: 4 kB / 1.179 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.2648, allocations: 47.91 kB / 1.179 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2649, allocations: 4 kB / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.265, allocations: 35.77 kB / 1.179 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.2651, allocations: 8 kB / 1.179 GB, free: 9.613 MB / 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.0001799/0.2653, allocations: 183.6 kB / 1.179 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.2653, allocations: 47.66 kB / 1.179 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.924e-05/0.2654, allocations: 43.83 kB / 1.179 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2654, allocations: 4 kB / 1.179 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2654, allocations: 0 / 1.179 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2654, allocations: 0 / 1.179 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.2658, allocations: 421.2 kB / 1.18 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2658, allocations: 0 / 1.18 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.2661, allocations: 39.97 kB / 1.18 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2661, allocations: 3.938 kB / 1.18 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.2661, allocations: 15.98 kB / 1.18 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.2661, allocations: 0 / 1.18 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.2661, allocations: 0 / 1.18 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008398/0.267, allocations: 426.3 kB / 1.18 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.2671, allocations: 148.8 kB / 1.18 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.2672, allocations: 8 kB / 1.18 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.2673, allocations: 15.98 kB / 1.181 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.2674, allocations: 19.97 kB / 1.181 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.2674, allocations: 4 kB / 1.181 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003311/0.2678, allocations: 315.1 kB / 1.181 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2678, allocations: 0 / 1.181 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003109/0.2681, allocations: 83.83 kB / 1.181 GB, free: 7.785 MB / 0.9356 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.001911/0.27, allocations: 1.287 MB / 1.182 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005295/0.2705, allocations: 226.5 kB / 1.182 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2706, allocations: 0 / 1.182 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.2708, allocations: 119.9 kB / 1.182 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.2713, allocations: 97.11 kB / 1.183 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.2757, allocations: 3.437 MB / 1.186 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.276, allocations: 0.807 MB / 1.187 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.2762, allocations: 55.25 kB / 1.187 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.2764, allocations: 147.4 kB / 1.187 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.2764, allocations: 0 / 1.187 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.3024, allocations: 9 MB / 1.196 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.153, allocations: 9.109 kB / 1.196 GB, free: 8.863 MB / 0.9512 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