Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_9_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.007053/0.007053, allocations: 103.4 kB / 15.74 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.001641/0.001641, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.112/2.112, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0026/0.0026, allocations: 67.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8251/0.8277, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003565/0.8313, allocations: 2.921 MB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.8337, allocations: 1.517 MB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.8339, allocations: 12.53 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.8343, allocations: 100.7 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.8347, allocations: 143.7 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008608/0.8356, allocations: 414.4 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005192/0.8361, allocations: 0.5368 MB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.8364, allocations: 210.7 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.8367, allocations: 202.9 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.8369, allocations: 200.1 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.864e-05/0.837, allocations: 41.78 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.8372, allocations: 102.1 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.8373, allocations: 108.7 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.8375, allocations: 205.1 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006738/0.8381, allocations: 0.6093 MB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8382, allocations: 0.9688 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8382, allocations: 3.938 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.8382, allocations: 0 / 1.095 GB, free: 0.6367 MB / 0.8575 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.001136/0.8393, allocations: 0.7884 MB / 1.095 GB, free: 0 / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.8394, allocations: 9.469 kB / 1.095 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.8395, allocations: 61.66 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.819e-05/0.8396, allocations: 50.23 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.8403, allocations: 445.4 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.8404, allocations: 24.83 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.8404, allocations: 29.84 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.8411, allocations: 332.3 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.8411, allocations: 0 / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.8411, allocations: 14.41 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.8411, allocations: 7.922 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005626/0.8417, allocations: 207 kB / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.8433, allocations: 1.093 MB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.844, allocations: 240.7 kB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.8443, allocations: 114.4 kB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.8443, allocations: 10.66 kB / 1.098 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003626/0.8447, allocations: 152.6 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.8447, allocations: 0 / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.0009579/0.8457, allocations: 349.3 kB / 1.098 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.8457, allocations: 106.2 kB / 1.098 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.8463, allocations: 458.1 kB / 1.099 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.8463, allocations: 31.89 kB / 1.099 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.8465, allocations: 237 kB / 1.099 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.8466, allocations: 70.45 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.995e-05/0.8467, allocations: 57.31 kB / 1.099 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8468, allocations: 355.2 kB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.8471, allocations: 82.2 kB / 1.1 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.8474, allocations: 159.5 kB / 1.1 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.8479, allocations: 219.6 kB / 1.1 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.8479, allocations: 1.094 kB / 1.1 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006356/0.8486, allocations: 308 kB / 1.1 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.8486, allocations: 5.969 kB / 1.1 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.8486, allocations: 1.766 kB / 1.1 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8486, allocations: 3.375 kB / 1.1 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.8489, allocations: 54.52 kB / 1.1 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.8489, allocations: 6.75 kB / 1.1 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.8491, allocations: 30.75 kB / 1.1 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.8491, allocations: 12.55 kB / 1.1 GB, free: 12.67 MB / 0.8731 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.0001847/0.8493, allocations: 179.1 kB / 1.101 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.8494, allocations: 43.72 kB / 1.101 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.8495, allocations: 46.86 kB / 1.101 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.8495, allocations: 7.219 kB / 1.101 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8495, allocations: 0 / 1.101 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.8495, allocations: 1.219 kB / 1.101 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.85, allocations: 422.4 kB / 1.101 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.85, allocations: 3.938 kB / 1.101 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.8502, allocations: 33.8 kB / 1.101 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.8502, allocations: 6.719 kB / 1.101 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.8502, allocations: 6.484 kB / 1.101 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.8503, allocations: 1.5 kB / 1.101 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8503, allocations: 0.6562 kB / 1.101 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/0.8511, allocations: 428.2 kB / 1.102 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.8513, allocations: 140.1 kB / 1.102 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.8514, allocations: 6.062 kB / 1.102 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.8516, allocations: 14.67 kB / 1.102 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.8516, allocations: 20.17 kB / 1.102 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.8517, allocations: 6.766 kB / 1.102 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003651/0.8521, allocations: 318.1 kB / 1.102 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8521, allocations: 0 / 1.102 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003524/0.8524, allocations: 73.31 kB / 1.102 GB, free: 11.63 MB / 0.8731 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.00214/0.8546, allocations: 1.29 MB / 1.103 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006742/0.8553, allocations: 228.4 kB / 1.104 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8553, allocations: 3.938 kB / 1.104 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.8555, allocations: 108.8 kB / 1.104 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.8561, allocations: 113.3 kB / 1.104 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/0.8608, allocations: 3.411 MB / 1.107 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.8612, allocations: 0.8114 MB / 1.108 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002005/0.8614, allocations: 50.69 kB / 1.108 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.8616, allocations: 145.5 kB / 1.108 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.8616, allocations: 0 / 1.108 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1914/1.053, allocations: 8.996 MB / 1.117 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/9.142, allocations: 9.781 kB / 1.117 GB, free: 6.695 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches