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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007819/0.007819, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001912/0.001912, allocations: 193 kB / 16.67 MB, free: 6.352 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.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.569/2.569, allocations: 469.4 MB / 0.7422 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2696, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004195/0.2738, allocations: 2.933 MB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002472/0.2763, allocations: 1.516 MB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.2766, allocations: 11.94 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.2771, allocations: 111.1 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004373/0.2775, allocations: 147 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000963/0.2785, allocations: 407.8 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005895/0.2791, allocations: 0.5344 MB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.2794, allocations: 197.1 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.2797, allocations: 215.1 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.28, allocations: 199 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.668e-05/0.2801, allocations: 44 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.2803, allocations: 103.9 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.2804, allocations: 103.7 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.2806, allocations: 210.7 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006412/0.2812, allocations: 0.5991 MB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2813, allocations: 3.984 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2813, allocations: 0 / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.2813, allocations: 4 kB / 1.227 GB, free: 7.312 MB / 0.9825 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.001253/0.2825, allocations: 0.8072 MB / 1.228 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2826, allocations: 8.031 kB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.593e-05/0.2827, allocations: 62.72 kB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.2828, allocations: 52.61 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/0.2834, allocations: 450.7 kB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.2835, allocations: 28.69 kB / 1.228 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.2835, allocations: 24 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/0.2841, allocations: 327.9 kB / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2841, allocations: 0 / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.2841, allocations: 12 kB / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.2842, allocations: 8 kB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.2846, allocations: 214.1 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.2859, allocations: 1.097 MB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.2866, allocations: 237.5 kB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.2868, allocations: 112.8 kB / 1.23 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.2868, allocations: 4 kB / 1.23 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/0.2872, allocations: 159.2 kB / 1.23 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.2872, allocations: 0 / 1.23 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0007999/0.288, allocations: 351.9 kB / 1.231 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.2881, allocations: 110.8 kB / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.2885, allocations: 457.8 kB / 1.231 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.2886, allocations: 29.7 kB / 1.231 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.2887, allocations: 228.7 kB / 1.231 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.2888, allocations: 87.23 kB / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.2889, allocations: 57.66 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.289, allocations: 350.8 kB / 1.232 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.2892, allocations: 91.95 kB / 1.232 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.2895, allocations: 164.1 kB / 1.232 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.29, allocations: 224.9 kB / 1.232 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.29, allocations: 0 / 1.232 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005916/0.2906, allocations: 303.3 kB / 1.233 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2906, allocations: 8 kB / 1.233 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2906, allocations: 3.984 kB / 1.233 GB, free: 1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2906, allocations: 4 kB / 1.233 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.2908, allocations: 51.91 kB / 1.233 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2909, allocations: 4 kB / 1.233 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.291, allocations: 31.81 kB / 1.233 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.2911, allocations: 7.984 kB / 1.233 GB, free: 0.9023 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.0001766/0.2913, allocations: 179.6 kB / 1.233 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.2913, allocations: 51.64 kB / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.2914, allocations: 43.84 kB / 1.233 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2914, allocations: 4 kB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2914, allocations: 0 / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2914, allocations: 0 / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.2918, allocations: 413.2 kB / 1.233 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.2918, allocations: 3.984 kB / 1.233 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.292, allocations: 43.92 kB / 1.234 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.292, allocations: 0 / 1.234 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.2921, allocations: 7.984 kB / 1.234 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2921, allocations: 0 / 1.234 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2921, allocations: 0 / 1.234 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.2929, allocations: 434.9 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2931, allocations: 132.8 kB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.2931, allocations: 8 kB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.2933, allocations: 15.98 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.2933, allocations: 28 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.2934, allocations: 4 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003286/0.2937, allocations: 319.1 kB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.473e-06/0.2937, allocations: 0 / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00032/0.294, allocations: 83.72 kB / 1.234 GB, free: 15.08 MB / 0.9981 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.001906/0.296, allocations: 1.278 MB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005375/0.2965, allocations: 219.7 kB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2965, allocations: 0 / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.2968, allocations: 122.2 kB / 1.236 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.2973, allocations: 110.3 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/0.3017, allocations: 3.429 MB / 1.24 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.302, allocations: 0.8109 MB / 1.24 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.3022, allocations: 51.25 kB / 1.24 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.3024, allocations: 143.3 kB / 1.241 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3025, allocations: 3.938 kB / 1.241 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.3372, allocations: 9.011 MB / 1.249 GB, free: 156 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.596, allocations: 4.438 kB / 1.249 GB, free: 152 kB / 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 50 --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