Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001281/0.001281, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.0014/0.0014, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.329/3.329, allocations: 0.49 GB / 0.7959 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="cs",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.00192/0.00192, allocations: 62.03 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3781, allocations: 176.1 MB / 1.327 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005411/0.3835, allocations: 2.992 MB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003311/0.3868, allocations: 1.734 MB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003783/0.3872, allocations: 19.81 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.3877, allocations: 103.2 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005518/0.3883, allocations: 186.9 kB / 1.332 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3893, allocations: 406.5 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007084/0.39, allocations: 0.5461 MB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.3903, allocations: 145.7 kB / 1.333 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003896/0.3907, allocations: 223.1 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.3911, allocations: 206.9 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.282e-05/0.3911, allocations: 44 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.3914, allocations: 111.9 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.3915, allocations: 111.5 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.3917, allocations: 206.8 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009227/0.3927, allocations: 0.6185 MB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3927, allocations: 0 / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3927, allocations: 0 / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.3927, allocations: 4 kB / 1.334 GB, free: 10.35 MB / 1.029 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.001445/0.3941, allocations: 0.7397 MB / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.3942, allocations: 12.03 kB / 1.335 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.004e-05/0.3942, allocations: 4.844 kB / 1.335 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.175e-05/0.3943, allocations: 70.72 kB / 1.335 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.3946, allocations: 72.55 kB / 1.335 GB, free: 9.406 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008625/0.3955, allocations: 399.6 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.3955, allocations: 32.58 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.3956, allocations: 28 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.3962, allocations: 321 kB / 1.336 GB, free: 8.594 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3963, allocations: 11.88 kB / 1.336 GB, free: 8.582 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.3963, allocations: 8 kB / 1.336 GB, free: 8.574 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.3963, allocations: 12 kB / 1.336 GB, free: 8.562 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005261/0.3968, allocations: 213.8 kB / 1.336 GB, free: 8.355 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.3983, allocations: 1.058 MB / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/0.399, allocations: 223.8 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.3993, allocations: 108.8 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.3993, allocations: 4 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.3997, allocations: 157.1 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 2.275e-06/0.3997, allocations: 0 / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009221/0.4006, allocations: 359.3 kB / 1.338 GB, free: 6.379 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.435e-05/0.4007, allocations: 102.8 kB / 1.338 GB, free: 6.254 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.4013, allocations: 469.9 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.4014, allocations: 25.7 kB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.4016, allocations: 240.7 kB / 1.339 GB, free: 5.512 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.409e-05/0.4017, allocations: 75.36 kB / 1.339 GB, free: 5.438 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.4018, allocations: 53.7 kB / 1.339 GB, free: 5.379 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.402, allocations: 358.8 kB / 1.339 GB, free: 5.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.4022, allocations: 79.95 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.4025, allocations: 159.6 kB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.403, allocations: 222.9 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.403, allocations: 4 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006471/0.4037, allocations: 301 kB / 1.34 GB, free: 4.219 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4037, allocations: 4 kB / 1.34 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4037, allocations: 4 kB / 1.34 GB, free: 4.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4037, allocations: 4.031 kB / 1.34 GB, free: 4.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.404, allocations: 56.06 kB / 1.34 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.404, allocations: 15.92 kB / 1.34 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.4042, allocations: 31.78 kB / 1.34 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.4042, allocations: 11.98 kB / 1.34 GB, free: 4.094 MB / 1.029 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.0002377/0.4044, allocations: 182.2 kB / 1.34 GB, free: 3.906 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.4045, allocations: 43.72 kB / 1.34 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000678/0.4052, allocations: 291 kB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4052, allocations: 4 kB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4052, allocations: 0 / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4052, allocations: 0 / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.4057, allocations: 396.3 kB / 1.341 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4057, allocations: 3.938 kB / 1.341 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.4059, allocations: 31.98 kB / 1.341 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4059, allocations: 0 / 1.341 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.4059, allocations: 7.984 kB / 1.341 GB, free: 3.098 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4059, allocations: 8 kB / 1.341 GB, free: 3.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4059, allocations: 0 / 1.341 GB, free: 3.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009057/0.4068, allocations: 426.2 kB / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.407, allocations: 67.66 kB / 1.341 GB, free: 2.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.407, allocations: 8 kB / 1.341 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.4072, allocations: 16.05 kB / 1.341 GB, free: 2.566 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.4073, allocations: 19.97 kB / 1.341 GB, free: 2.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.4073, allocations: 11.98 kB / 1.341 GB, free: 2.535 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000392/0.4077, allocations: 327.1 kB / 1.342 GB, free: 2.215 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4077, allocations: 0 / 1.342 GB, free: 2.215 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003588/0.408, allocations: 71.89 kB / 1.342 GB, free: 2.145 MB / 1.029 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.00272/0.4108, allocations: 1.288 MB / 1.343 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005833/0.4113, allocations: 215.1 kB / 1.343 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4113, allocations: 0 / 1.343 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.4116, allocations: 107.9 kB / 1.343 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.4122, allocations: 111.2 kB / 1.343 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005382/0.4176, allocations: 3.491 MB / 1.347 GB, free: 12.98 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.4181, allocations: 0.8188 MB / 1.348 GB, free: 12.13 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002397/0.4183, allocations: 47.27 kB / 1.348 GB, free: 12.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.4186, allocations: 143.4 kB / 1.348 GB, free: 11.95 MB / 1.045 GB Notification: Performance of SimCode: time 1.072e-06/0.4186, allocations: 3.938 kB / 1.348 GB, free: 11.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04485/0.4634, allocations: 9.461 MB / 1.357 GB, free: 2.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.32, allocations: 12.05 kB / 1.357 GB, free: 2.648 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --stepSize=0.432 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.396757836977486]