Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 210.8 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 256 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.8 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 65.97 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2822, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005123/0.2873, allocations: 2.997 MB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003232/0.2906, allocations: 1.718 MB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003603/0.2909, allocations: 15.88 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.2914, allocations: 111.1 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.2919, allocations: 190.9 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009783/0.2929, allocations: 409.1 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006982/0.2936, allocations: 0.5461 MB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.2939, allocations: 145.3 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003801/0.2943, allocations: 223 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.2946, allocations: 203 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.298e-05/0.2947, allocations: 44 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.2949, allocations: 107.9 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.295, allocations: 119.5 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.2952, allocations: 214.7 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008047/0.296, allocations: 0.6153 MB / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.296, allocations: 0 / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2961, allocations: 0 / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.2961, allocations: 0 / 1.291 GB, free: 4.109 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.001273/0.2973, allocations: 0.7514 MB / 1.292 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2974, allocations: 8.031 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.582e-05/0.2975, allocations: 62.72 kB / 1.292 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.2977, allocations: 76.55 kB / 1.292 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007438/0.2985, allocations: 399.6 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.2985, allocations: 20.78 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.2985, allocations: 28 kB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.2992, allocations: 333 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2992, allocations: 3.938 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.2992, allocations: 12 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2992, allocations: 8 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.2997, allocations: 209.8 kB / 1.293 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.3012, allocations: 1.069 MB / 1.294 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.3018, allocations: 226.9 kB / 1.294 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.3021, allocations: 100.8 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3021, allocations: 4 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.3024, allocations: 154.4 kB / 1.294 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.3024, allocations: 4 kB / 1.294 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0008074/0.3032, allocations: 349 kB / 1.294 GB, free: 152 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.3033, allocations: 110.8 kB / 1.295 GB, free: 16 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/0.3039, allocations: 465.9 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.3039, allocations: 29.7 kB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.3041, allocations: 236.7 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.3042, allocations: 83.38 kB / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.3043, allocations: 57.69 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3044, allocations: 350.8 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.3047, allocations: 83.95 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.3049, allocations: 168.7 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.3054, allocations: 215.3 kB / 1.296 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3054, allocations: 0 / 1.296 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005985/0.306, allocations: 301 kB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.306, allocations: 14.33 kB / 1.297 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.306, allocations: 4.094 kB / 1.297 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.306, allocations: 8 kB / 1.297 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.3063, allocations: 51.91 kB / 1.297 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3063, allocations: 3.938 kB / 1.297 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.3064, allocations: 35.77 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.3065, allocations: 8 kB / 1.297 GB, free: 13.86 MB / 0.9981 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.0001924/0.3067, allocations: 173.8 kB / 1.297 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.3067, allocations: 51.66 kB / 1.297 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006168/0.3073, allocations: 296.6 kB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3073, allocations: 4 kB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3073, allocations: 0 / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3074, allocations: 3.984 kB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.3078, allocations: 392.3 kB / 1.298 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3078, allocations: 4 kB / 1.298 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.308, allocations: 43.97 kB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.308, allocations: 4 kB / 1.298 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.308, allocations: 0 / 1.298 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.308, allocations: 0 / 1.298 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.308, allocations: 0 / 1.298 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008296/0.3088, allocations: 432.4 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.309, allocations: 63.72 kB / 1.298 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.309, allocations: 0 / 1.298 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.3092, allocations: 15.98 kB / 1.298 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.3092, allocations: 23.95 kB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.3093, allocations: 8 kB / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003745/0.3096, allocations: 331.1 kB / 1.298 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3096, allocations: 0 / 1.298 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003108/0.3099, allocations: 79.78 kB / 1.298 GB, free: 11.9 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.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * 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.002531/0.3125, allocations: 1.283 MB / 1.3 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.313, allocations: 222.6 kB / 1.3 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.313, allocations: 0 / 1.3 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.3132, allocations: 99.89 kB / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.3137, allocations: 114.7 kB / 1.3 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004956/0.3187, allocations: 3.474 MB / 1.304 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.3192, allocations: 0.8109 MB / 1.304 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.3193, allocations: 59.23 kB / 1.304 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.3196, allocations: 151.4 kB / 1.305 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.3196, allocations: 0 / 1.305 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4083/0.7279, allocations: 9.432 MB / 1.314 GB, free: 12.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.8, allocations: 4 kB / 1.314 GB, free: 12.43 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --stepSize=0.432 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.50637884810567]