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.001169/0.001169, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001155/0.001155, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.158/1.158, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.186/2.186, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 64.14 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4456, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003711/0.4494, allocations: 2.958 MB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.4513, allocations: 1.492 MB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.4514, allocations: 11.94 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.4518, allocations: 87.53 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.452, allocations: 119.3 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.4527, allocations: 376.5 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.4532, allocations: 0.5305 MB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.4534, allocations: 201.1 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.4537, allocations: 207.1 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.4538, allocations: 203 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.4539, allocations: 40 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.454, allocations: 99.89 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.661e-05/0.4541, allocations: 103.7 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.4543, allocations: 214.7 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.4548, allocations: 0.5785 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4548, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4548, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4548, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 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.0009707/0.4558, allocations: 0.7959 MB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.4558, allocations: 8.031 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.4559, allocations: 66.73 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.44e-05/0.4559, allocations: 56.27 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.4564, allocations: 430.4 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.4564, allocations: 32.62 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.4565, allocations: 28 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/0.457, allocations: 327.9 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.457, allocations: 0 / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.4571, allocations: 16 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.4571, allocations: 4 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.4575, allocations: 214.1 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.4586, allocations: 1.1 MB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.4591, allocations: 234.9 kB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.4594, allocations: 112.8 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.4594, allocations: 4 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003063/0.4597, allocations: 155.2 kB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.363e-06/0.4597, allocations: 4 kB / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.000708/0.4604, allocations: 354 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.4605, allocations: 114.8 kB / 1.028 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.4609, allocations: 449.8 kB / 1.028 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.461, allocations: 33.7 kB / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.4611, allocations: 228.4 kB / 1.029 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.4612, allocations: 74.98 kB / 1.029 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/0.4612, allocations: 49.7 kB / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4613, allocations: 358.8 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.4616, allocations: 87.95 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.4618, allocations: 159.6 kB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.4622, allocations: 219.1 kB / 1.029 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4622, allocations: 0 / 1.029 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005192/0.4627, allocations: 306.3 kB / 1.03 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.4627, allocations: 4 kB / 1.03 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4628, allocations: 4 kB / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.4628, allocations: 0 / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.463, allocations: 51.91 kB / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.463, allocations: 7.984 kB / 1.03 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.4632, allocations: 24 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.4632, allocations: 15.98 kB / 1.03 GB, free: 5.09 MB / 0.7794 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.0001595/0.4634, allocations: 179.4 kB / 1.03 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.4634, allocations: 51.36 kB / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.4635, allocations: 39.84 kB / 1.03 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4635, allocations: 4 kB / 1.03 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4635, allocations: 3.938 kB / 1.03 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4635, allocations: 3.984 kB / 1.03 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.4638, allocations: 413.2 kB / 1.031 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4639, allocations: 3.984 kB / 1.031 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.4641, allocations: 35.97 kB / 1.031 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4641, allocations: 3.984 kB / 1.031 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.4641, allocations: 11.98 kB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4641, allocations: 0 / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4641, allocations: 0 / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/0.4648, allocations: 422.8 kB / 1.031 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.465, allocations: 148.4 kB / 1.031 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.465, allocations: 8 kB / 1.031 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.4652, allocations: 11.98 kB / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.4652, allocations: 23.97 kB / 1.031 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.4653, allocations: 8 kB / 1.031 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002833/0.4656, allocations: 323.2 kB / 1.031 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.172e-06/0.4656, allocations: 0 / 1.031 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002723/0.4658, allocations: 79.78 kB / 1.032 GB, free: 3.254 MB / 0.7794 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.001678/0.4675, allocations: 1.281 MB / 1.033 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005035/0.468, allocations: 229.5 kB / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.468, allocations: 0 / 1.033 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.4683, allocations: 108.2 kB / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.4687, allocations: 122.6 kB / 1.033 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/0.4728, allocations: 3.593 MB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.4731, allocations: 0.8071 MB / 1.038 GB, free: 13.12 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.4733, allocations: 55.23 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.4735, allocations: 147.4 kB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.4735, allocations: 0 / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04467/0.5182, allocations: 8.691 MB / 1.046 GB, free: 4.496 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/0.5184, allocations: 293 kB / 1.046 GB, free: 4.109 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.195, allocations: 0 / 1.046 GB, free: 4.109 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_10_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 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.mat","/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