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.00238/0.00238, allocations: 112.5 kB / 15.73 MB, free: 76 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.003205/0.003205, allocations: 191.3 kB / 16.67 MB, free: 6.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.752/2.752, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 4.525/4.525, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003376/0.003376, allocations: 67.89 kB / 1.018 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5715/0.5749, allocations: 151.6 MB / 1.166 GB, free: 7.508 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.009272/0.5842, allocations: 2.932 MB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005553/0.5898, allocations: 1.512 MB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008591/0.5908, allocations: 11.94 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008584/0.5916, allocations: 107.2 kB / 1.171 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009626/0.5927, allocations: 131.1 kB / 1.171 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.5947, allocations: 423.3 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.596, allocations: 0.5227 MB / 1.172 GB, free: 1.848 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006691/0.5967, allocations: 205.4 kB / 1.172 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.5972, allocations: 203.1 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.5976, allocations: 195 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.5978, allocations: 44 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.5982, allocations: 99.95 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.5984, allocations: 119.5 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.5987, allocations: 206.8 kB / 1.173 GB, free: 0.793 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.6, allocations: 0.6068 MB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.6001, allocations: 0 / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6001, allocations: 0 / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.6001, allocations: 0 / 1.173 GB, free: 188 kB / 0.92 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.002123/0.6022, allocations: 0.8111 MB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.499e-05/0.6023, allocations: 16.03 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.6024, allocations: 58.73 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.6026, allocations: 56.55 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.6038, allocations: 438.8 kB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.6039, allocations: 28.69 kB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.74e-05/0.604, allocations: 31.95 kB / 1.175 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.605, allocations: 327.9 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.605, allocations: 0 / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.6051, allocations: 16 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.6051, allocations: 11.98 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008205/0.606, allocations: 214.1 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.6085, allocations: 1.097 MB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009832/0.6095, allocations: 238.8 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.6099, allocations: 116.8 kB / 1.177 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.61, allocations: 0 / 1.177 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000559/0.6105, allocations: 155.2 kB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 3.267e-06/0.6106, allocations: 4 kB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.001452/0.612, allocations: 357.8 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.6122, allocations: 106.8 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008805/0.613, allocations: 449.9 kB / 1.178 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/0.6131, allocations: 37.69 kB / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.6134, allocations: 228.7 kB / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.6136, allocations: 71.38 kB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.6137, allocations: 57.69 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002688/0.614, allocations: 354.8 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.6144, allocations: 83.95 kB / 1.178 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.6149, allocations: 153.2 kB / 1.179 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008655/0.6158, allocations: 228.6 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6158, allocations: 0 / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001066/0.6169, allocations: 305 kB / 1.179 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.6169, allocations: 4 kB / 1.179 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.617, allocations: 4 kB / 1.179 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.617, allocations: 0 / 1.179 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.6175, allocations: 55.91 kB / 1.179 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.6175, allocations: 4.156 kB / 1.179 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.6179, allocations: 35.77 kB / 1.179 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.6179, allocations: 8 kB / 1.179 GB, free: 9.77 MB / 0.9356 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.000381/0.6183, allocations: 179 kB / 1.179 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.6184, allocations: 47.66 kB / 1.179 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.6186, allocations: 51.81 kB / 1.179 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.6187, allocations: 11.92 kB / 1.179 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.6187, allocations: 0 / 1.179 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6187, allocations: 4 kB / 1.179 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000814/0.6195, allocations: 413.2 kB / 1.18 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6196, allocations: 0 / 1.18 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.6199, allocations: 39.97 kB / 1.18 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.62, allocations: 0 / 1.18 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.62, allocations: 4 kB / 1.18 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.62, allocations: 7.938 kB / 1.18 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.62, allocations: 0 / 1.18 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.6216, allocations: 431.4 kB / 1.18 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.6219, allocations: 140.8 kB / 1.18 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.622, allocations: 11.98 kB / 1.18 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.6223, allocations: 11.98 kB / 1.18 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.6224, allocations: 19.98 kB / 1.18 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.6225, allocations: 7.984 kB / 1.18 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006545/0.6231, allocations: 319.2 kB / 1.181 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6231, allocations: 0 / 1.181 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006368/0.6238, allocations: 79.83 kB / 1.181 GB, free: 7.941 MB / 0.9356 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.004532/0.6283, allocations: 1.288 MB / 1.182 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.6294, allocations: 223.6 kB / 1.182 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6294, allocations: 0 / 1.182 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004213/0.6298, allocations: 114.2 kB / 1.182 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/0.6308, allocations: 111.1 kB / 1.183 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007995/0.6388, allocations: 3.434 MB / 1.186 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.6395, allocations: 0.8071 MB / 1.187 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003766/0.6399, allocations: 59.25 kB / 1.187 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/0.6403, allocations: 143.4 kB / 1.187 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of SimCode: time 1.963e-06/0.6403, allocations: 0 / 1.187 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08197/0.7223, allocations: 9 MB / 1.196 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/15.8, allocations: 8.25 kB / 1.196 GB, free: 9.012 MB / 0.9512 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