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.001032/0.001032, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.194/1.194, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.291/2.291, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 0.8694 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5485/0.5498, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004016/0.5538, allocations: 2.93 MB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002403/0.5562, allocations: 1.516 MB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.5566, allocations: 11.94 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.5569, allocations: 103.2 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.5574, allocations: 139 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009137/0.5583, allocations: 421.4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.5589, allocations: 0.5344 MB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.5592, allocations: 201.1 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.5594, allocations: 199.1 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.5597, allocations: 203 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.5598, allocations: 40 kB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.56, allocations: 91.95 kB / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.5601, allocations: 103.6 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.5602, allocations: 214.8 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.5608, allocations: 0.5824 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5608, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5608, allocations: 3.938 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.5608, allocations: 3.938 kB / 1.024 GB, free: 11.24 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.001025/0.5618, allocations: 0.7921 MB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.5619, allocations: 16.03 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.162e-05/0.5619, allocations: 62.72 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.896e-05/0.562, allocations: 52.28 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.5625, allocations: 430.4 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.5626, allocations: 32.67 kB / 1.026 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.5626, allocations: 28 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.5632, allocations: 327.9 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5632, allocations: 0 / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.5632, allocations: 12 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.5632, allocations: 4 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.5637, allocations: 218.1 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.5649, allocations: 1.1 MB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.5655, allocations: 236.9 kB / 1.028 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.5657, allocations: 112.8 kB / 1.028 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.5658, allocations: 7.984 kB / 1.028 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000343/0.5661, allocations: 164.7 kB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.5661, allocations: 0 / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0007729/0.5669, allocations: 350.6 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.567, allocations: 106.8 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.5674, allocations: 457.7 kB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.5674, allocations: 29.7 kB / 1.029 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.5676, allocations: 232.5 kB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.5676, allocations: 70.98 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.5677, allocations: 57.7 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5679, allocations: 350.8 kB / 1.03 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.5681, allocations: 83.95 kB / 1.03 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.5683, allocations: 160.1 kB / 1.03 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.5688, allocations: 223.7 kB / 1.03 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5688, allocations: 0 / 1.03 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005715/0.5694, allocations: 296.7 kB / 1.03 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.5694, allocations: 4.156 kB / 1.03 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5694, allocations: 12 kB / 1.03 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.5694, allocations: 4 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.5697, allocations: 55.89 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5697, allocations: 4 kB / 1.03 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.5699, allocations: 31.77 kB / 1.03 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.5699, allocations: 4 kB / 1.03 GB, free: 4.875 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.0001653/0.5701, allocations: 184.4 kB / 1.031 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.5701, allocations: 51.38 kB / 1.031 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.063e-05/0.5702, allocations: 43.84 kB / 1.031 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.5702, allocations: 4 kB / 1.031 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5702, allocations: 0 / 1.031 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5702, allocations: 3.984 kB / 1.031 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.5706, allocations: 409.2 kB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5706, allocations: 0 / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.5708, allocations: 39.92 kB / 1.031 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5708, allocations: 0 / 1.031 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.5708, allocations: 7.984 kB / 1.031 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5708, allocations: 4 kB / 1.031 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5708, allocations: 3.938 kB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007915/0.5716, allocations: 430.8 kB / 1.032 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.5718, allocations: 136.5 kB / 1.032 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.5718, allocations: 12.06 kB / 1.032 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.572, allocations: 11.98 kB / 1.032 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.5721, allocations: 23.97 kB / 1.032 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.5721, allocations: 4 kB / 1.032 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000314/0.5724, allocations: 319.1 kB / 1.032 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5724, allocations: 0 / 1.032 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003631/0.5728, allocations: 75.84 kB / 1.032 GB, free: 3.055 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.00181/0.5746, allocations: 1.291 MB / 1.033 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00055/0.5751, allocations: 233.9 kB / 1.034 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5752, allocations: 0 / 1.034 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.5754, allocations: 111.9 kB / 1.034 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.5759, allocations: 112.8 kB / 1.034 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/0.5801, allocations: 3.484 MB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.5804, allocations: 0.8071 MB / 1.038 GB, free: 13.02 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.5806, allocations: 59.23 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.5808, allocations: 143.4 kB / 1.038 GB, free: 12.82 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.5808, allocations: 0 / 1.038 GB, free: 12.82 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7234/1.304, allocations: 8.849 MB / 1.047 GB, free: 4.215 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/9.186, allocations: 16.25 kB / 1.047 GB, free: 4.199 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