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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008806/0.0008806, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005121/0.005121, allocations: 170 kB / 16.26 MB, free: 6.68 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.275/2.275, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 8 kB / 0.873 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5154, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002786/0.5182, allocations: 2.576 MB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.5201, allocations: 1.457 MB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.5203, allocations: 11.94 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.5206, allocations: 95.45 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.5209, allocations: 111.4 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000686/0.5216, allocations: 368.2 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.522, allocations: 499.2 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.5222, allocations: 197.1 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.5224, allocations: 159 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.5226, allocations: 151 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.5226, allocations: 12 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.5228, allocations: 59.97 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.5229, allocations: 67.62 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.523, allocations: 192.5 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.5234, allocations: 0.5431 MB / 1.029 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5234, allocations: 4 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5234, allocations: 4 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.5235, allocations: 0 / 1.029 GB, free: 9.344 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.0009153/0.5244, allocations: 0.7182 MB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.5244, allocations: 12.03 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.092e-05/0.5245, allocations: 58.73 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.5246, allocations: 52.28 kB / 1.03 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.5251, allocations: 438.4 kB / 1.031 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.5251, allocations: 24.5 kB / 1.031 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.5251, allocations: 27.94 kB / 1.031 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.5257, allocations: 336 kB / 1.031 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5257, allocations: 0 / 1.031 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.5257, allocations: 15.94 kB / 1.031 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.5257, allocations: 12 kB / 1.031 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.5262, allocations: 214.1 kB / 1.031 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.5273, allocations: 1.1 MB / 1.032 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.5279, allocations: 246.9 kB / 1.033 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.5281, allocations: 113.3 kB / 1.033 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.5282, allocations: 7.938 kB / 1.033 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.5285, allocations: 168.7 kB / 1.033 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.5285, allocations: 0 / 1.033 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0007454/0.5293, allocations: 359.7 kB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.5293, allocations: 110.8 kB / 1.033 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.5297, allocations: 457.8 kB / 1.034 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.5298, allocations: 29.7 kB / 1.034 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.5299, allocations: 240.3 kB / 1.034 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/0.53, allocations: 71.02 kB / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.53, allocations: 29.7 kB / 1.034 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5302, allocations: 350.8 kB / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.5304, allocations: 95.95 kB / 1.035 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.5306, allocations: 151.7 kB / 1.035 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.5311, allocations: 234.5 kB / 1.035 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5311, allocations: 0 / 1.035 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005462/0.5316, allocations: 307.2 kB / 1.035 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.5316, allocations: 4 kB / 1.035 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5316, allocations: 4 kB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.5317, allocations: 0 / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.5319, allocations: 59.89 kB / 1.035 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5319, allocations: 7.938 kB / 1.035 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.5321, allocations: 31.73 kB / 1.035 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.5321, allocations: 8 kB / 1.035 GB, free: 3.012 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.0001664/0.5323, allocations: 187.2 kB / 1.035 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.5323, allocations: 43.44 kB / 1.036 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.27e-05/0.5324, allocations: 43.84 kB / 1.036 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5324, allocations: 7.938 kB / 1.036 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5324, allocations: 0 / 1.036 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5324, allocations: 3.984 kB / 1.036 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.5328, allocations: 417.2 kB / 1.036 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5328, allocations: 0 / 1.036 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.533, allocations: 39.98 kB / 1.036 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.533, allocations: 7.984 kB / 1.036 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.533, allocations: 0 / 1.036 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.533, allocations: 0 / 1.036 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.533, allocations: 0 / 1.036 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007703/0.5338, allocations: 444.1 kB / 1.036 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.5339, allocations: 148.5 kB / 1.037 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.534, allocations: 11.97 kB / 1.037 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.5341, allocations: 8 kB / 1.037 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.5342, allocations: 28.03 kB / 1.037 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.5342, allocations: 11.98 kB / 1.037 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002954/0.5345, allocations: 319.1 kB / 1.037 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5345, allocations: 0 / 1.037 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002837/0.5348, allocations: 79.83 kB / 1.037 GB, free: 1.148 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.001765/0.5366, allocations: 1.289 MB / 1.038 GB, free: 16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000487/0.5371, allocations: 231.6 kB / 1.039 GB, free: 15.77 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5371, allocations: 0 / 1.039 GB, free: 15.77 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.5374, allocations: 117.4 kB / 1.039 GB, free: 15.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.5378, allocations: 95.64 kB / 1.039 GB, free: 15.57 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.5422, allocations: 3.626 MB / 1.042 GB, free: 11.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.5426, allocations: 0.8151 MB / 1.043 GB, free: 10.98 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.5428, allocations: 55.23 kB / 1.043 GB, free: 10.93 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.543, allocations: 135.4 kB / 1.043 GB, free: 10.8 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.543, allocations: 4 kB / 1.043 GB, free: 10.79 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5439/1.087, allocations: 8.272 MB / 1.051 GB, free: 2.793 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.087, allocations: 284.5 kB / 1.052 GB, free: 2.418 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.98, allocations: 0 / 1.052 GB, free: 2.418 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