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.001148/0.001148, allocations: 108 kB / 15.6 MB, free: 132 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.001219/0.001219, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.401/2.401, allocations: 437.1 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5237/0.525, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004047/0.5291, allocations: 2.924 MB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002281/0.5314, allocations: 1.516 MB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.5317, allocations: 11.94 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.532, allocations: 111.1 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.5324, allocations: 139.1 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009324/0.5334, allocations: 408.9 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.5339, allocations: 0.5344 MB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.5343, allocations: 205.1 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.5346, allocations: 203.1 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.5349, allocations: 199 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/0.5349, allocations: 44 kB / 1.024 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.5352, allocations: 83.97 kB / 1.024 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.5353, allocations: 107.6 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.5355, allocations: 214.8 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000562/0.5361, allocations: 0.5823 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5361, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5361, allocations: 7.984 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.5361, allocations: 0 / 1.024 GB, free: 11.2 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.001164/0.5373, allocations: 0.792 MB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.5373, allocations: 8.031 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.048e-05/0.5374, allocations: 62.72 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.5375, allocations: 60.28 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.5381, allocations: 442.4 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.5381, allocations: 24.69 kB / 1.026 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.5382, allocations: 24 kB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.5387, allocations: 323.9 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.5388, allocations: 0 / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.5388, allocations: 19.92 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.5388, allocations: 8 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.5393, allocations: 210.1 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.5406, allocations: 1.1 MB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.5411, allocations: 238.9 kB / 1.028 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.5414, allocations: 113.9 kB / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.5414, allocations: 4 kB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003616/0.5418, allocations: 159.2 kB / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.5418, allocations: 0 / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0007757/0.5426, allocations: 357.8 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.5426, allocations: 110.8 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.5431, allocations: 453.8 kB / 1.029 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.5431, allocations: 29.7 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.5433, allocations: 232.5 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.5434, allocations: 67 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-05/0.5435, allocations: 57.7 kB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5436, allocations: 354.8 kB / 1.03 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.5438, allocations: 83.95 kB / 1.03 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.544, allocations: 156.2 kB / 1.03 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.5445, allocations: 223 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5445, allocations: 0 / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005554/0.545, allocations: 298.5 kB / 1.03 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.5451, allocations: 8 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5451, allocations: 0 / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5451, allocations: 8.156 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.5453, allocations: 59.89 kB / 1.03 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.5454, allocations: 0 / 1.03 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.5455, allocations: 27.83 kB / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.5456, allocations: 8 kB / 1.03 GB, free: 4.832 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.0001696/0.5457, allocations: 182.9 kB / 1.031 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.5458, allocations: 47.38 kB / 1.031 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.448e-05/0.5459, allocations: 51.84 kB / 1.031 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5459, allocations: 0 / 1.031 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5459, allocations: 0 / 1.031 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5459, allocations: 3.984 kB / 1.031 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.5463, allocations: 413.2 kB / 1.031 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5463, allocations: 8 kB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.5465, allocations: 39.91 kB / 1.031 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5465, allocations: 4 kB / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.5465, allocations: 0 / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5465, allocations: 3.938 kB / 1.031 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5465, allocations: 4 kB / 1.031 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007978/0.5473, allocations: 429.9 kB / 1.032 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.5475, allocations: 144.5 kB / 1.032 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.5475, allocations: 0 / 1.032 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.5477, allocations: 16.05 kB / 1.032 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.5478, allocations: 23.97 kB / 1.032 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.5478, allocations: 8 kB / 1.032 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003036/0.5481, allocations: 319.1 kB / 1.032 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5481, allocations: 0 / 1.032 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003095/0.5484, allocations: 79.84 kB / 1.032 GB, free: 2.996 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.001803/0.5502, allocations: 1.275 MB / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005423/0.5508, allocations: 231.9 kB / 1.034 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5508, allocations: 4.062 kB / 1.034 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.551, allocations: 117 kB / 1.034 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.5515, allocations: 107.4 kB / 1.034 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.5556, allocations: 3.487 MB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.5559, allocations: 0.8187 MB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.5561, allocations: 47.27 kB / 1.038 GB, free: 12.92 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.5563, allocations: 151.3 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.5563, allocations: 0 / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.5821, allocations: 8.839 MB / 1.047 GB, free: 4.164 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.583, allocations: 11.5 kB / 1.047 GB, free: 4.156 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 & 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