Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_latest_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.005405/0.005405, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001544/0.001544, allocations: 192 kB / 16.67 MB, free: 5.48 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.806/2.806, allocations: 482.4 MB / 0.7548 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 66.89 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2954, allocations: 162.2 MB / 1.241 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004771/0.3002, allocations: 2.926 MB / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002793/0.303, allocations: 1.515 MB / 1.246 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.3033, allocations: 11.94 kB / 1.246 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.3037, allocations: 103.2 kB / 1.246 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.3042, allocations: 139.1 kB / 1.246 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.3052, allocations: 410.1 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006561/0.3059, allocations: 0.5305 MB / 1.247 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/0.3063, allocations: 209.4 kB / 1.247 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.3066, allocations: 207 kB / 1.247 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.3069, allocations: 191 kB / 1.248 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.216e-05/0.307, allocations: 47.94 kB / 1.248 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.3072, allocations: 107.9 kB / 1.248 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.3074, allocations: 103.6 kB / 1.248 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.3076, allocations: 214.8 kB / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007851/0.3084, allocations: 0.6107 MB / 1.249 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3084, allocations: 0 / 1.249 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3084, allocations: 0 / 1.249 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.255e-05/0.3084, allocations: 0 / 1.249 GB, free: 2.016 MB / 0.9669 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.00138/0.3098, allocations: 0.8072 MB / 1.249 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3099, allocations: 12.03 kB / 1.249 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.927e-05/0.31, allocations: 62.72 kB / 1.249 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.3101, allocations: 52.61 kB / 1.249 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.3108, allocations: 446.8 kB / 1.25 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.3108, allocations: 28.67 kB / 1.25 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.3109, allocations: 31.95 kB / 1.25 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.3115, allocations: 320 kB / 1.25 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3116, allocations: 3.938 kB / 1.25 GB, free: 148 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3116, allocations: 12 kB / 1.25 GB, free: 136 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.3116, allocations: 4 kB / 1.25 GB, free: 132 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005545/0.3122, allocations: 214.1 kB / 1.25 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.3136, allocations: 1.101 MB / 1.252 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006562/0.3143, allocations: 238.9 kB / 1.252 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.3146, allocations: 116.8 kB / 1.252 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.3146, allocations: 3.984 kB / 1.252 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003594/0.315, allocations: 151.3 kB / 1.252 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.744e-06/0.315, allocations: 4 kB / 1.252 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0009135/0.3159, allocations: 355.1 kB / 1.252 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.316, allocations: 110.6 kB / 1.252 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005605/0.3166, allocations: 449.9 kB / 1.253 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.3166, allocations: 33.7 kB / 1.253 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.3168, allocations: 228.7 kB / 1.253 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.3169, allocations: 79.36 kB / 1.253 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.317, allocations: 57.7 kB / 1.253 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3172, allocations: 354.8 kB / 1.254 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.3175, allocations: 87.95 kB / 1.254 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.3178, allocations: 159.6 kB / 1.254 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/0.3183, allocations: 219.3 kB / 1.254 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3183, allocations: 4 kB / 1.254 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006697/0.319, allocations: 300.9 kB / 1.254 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.319, allocations: 4 kB / 1.254 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.319, allocations: 4.156 kB / 1.254 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3191, allocations: 4 kB / 1.254 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.3193, allocations: 55.95 kB / 1.254 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3193, allocations: 3.938 kB / 1.254 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.3195, allocations: 39.77 kB / 1.254 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.3196, allocations: 8 kB / 1.254 GB, free: 11.6 MB / 0.9825 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.0002082/0.3198, allocations: 179.5 kB / 1.255 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.3199, allocations: 43.66 kB / 1.255 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.833e-05/0.32, allocations: 51.84 kB / 1.255 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.32, allocations: 0 / 1.255 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.32, allocations: 7.938 kB / 1.255 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.32, allocations: 3.984 kB / 1.255 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.3205, allocations: 413.2 kB / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.3205, allocations: 0 / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.3207, allocations: 35.98 kB / 1.255 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3207, allocations: 0 / 1.255 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.3207, allocations: 3.984 kB / 1.255 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3208, allocations: 4 kB / 1.255 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3208, allocations: 4 kB / 1.255 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000934/0.3217, allocations: 427.7 kB / 1.256 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.3219, allocations: 140.8 kB / 1.256 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.3219, allocations: 8 kB / 1.256 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.3221, allocations: 16.05 kB / 1.256 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.3222, allocations: 19.97 kB / 1.256 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.3222, allocations: 12.05 kB / 1.256 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003819/0.3226, allocations: 315.1 kB / 1.256 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3226, allocations: 0 / 1.256 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000344/0.323, allocations: 79.84 kB / 1.256 GB, free: 9.789 MB / 0.9825 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.00272/0.3257, allocations: 1.293 MB / 1.257 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005949/0.3263, allocations: 221.6 kB / 1.258 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3263, allocations: 0 / 1.258 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.3266, allocations: 115.8 kB / 1.258 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.3272, allocations: 109.8 kB / 1.258 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/0.3322, allocations: 3.413 MB / 1.261 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.3327, allocations: 0.8188 MB / 1.262 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.3329, allocations: 55.23 kB / 1.262 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.3331, allocations: 135.4 kB / 1.262 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3332, allocations: 0 / 1.262 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.3679, allocations: 9.014 MB / 1.271 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/8.615, allocations: 7 kB / 1.271 GB, free: 10.86 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv --start-time 0 --stop-time 1080 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.432 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches