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.001396/0.001396, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001426/0.001426, allocations: 220.3 kB / 22.25 MB, free: 5.098 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.828 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.056/3.056, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_12_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.001963/0.001963, allocations: 66.97 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3382, allocations: 176.1 MB / 1.326 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004473/0.3427, allocations: 2.772 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.3455, allocations: 1.629 MB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.3457, allocations: 15.88 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.3461, allocations: 107.1 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004504/0.3466, allocations: 190.8 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008598/0.3474, allocations: 397.8 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006247/0.348, allocations: 0.55 MB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.3483, allocations: 141.7 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.3487, allocations: 219.1 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.349, allocations: 210.9 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.349, allocations: 44 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.3492, allocations: 111.9 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3494, allocations: 107.6 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.3495, allocations: 159 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.3503, allocations: 0.6263 MB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3503, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3503, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.3503, allocations: 4 kB / 1.333 GB, free: 10.29 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.001329/0.3517, allocations: 0.7475 MB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3517, allocations: 8.031 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.791e-05/0.3518, allocations: 66.72 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002936/0.3521, allocations: 76.55 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007757/0.3529, allocations: 399.6 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.3529, allocations: 24.78 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.353, allocations: 24 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/0.3536, allocations: 371.6 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3536, allocations: 0 / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.3537, allocations: 19.98 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.3537, allocations: 11.94 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.3542, allocations: 205.9 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.3556, allocations: 0.9838 MB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.3562, allocations: 234.7 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.3564, allocations: 100.8 kB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.3565, allocations: 7.984 kB / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/0.3568, allocations: 156.1 kB / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.3568, allocations: 0 / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.000861/0.3577, allocations: 362.9 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.3577, allocations: 85.11 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.3583, allocations: 469.8 kB / 1.337 GB, free: 5.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.3583, allocations: 29.7 kB / 1.337 GB, free: 5.734 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.3585, allocations: 240.7 kB / 1.337 GB, free: 5.492 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.3586, allocations: 79.31 kB / 1.337 GB, free: 5.414 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.968e-05/0.3587, allocations: 49.7 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3588, allocations: 358.8 kB / 1.338 GB, free: 5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.359, allocations: 87.95 kB / 1.338 GB, free: 4.914 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.3593, allocations: 202.2 kB / 1.338 GB, free: 4.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.3598, allocations: 220.5 kB / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3598, allocations: 4.031 kB / 1.338 GB, free: 4.445 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006012/0.3604, allocations: 305 kB / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3604, allocations: 8 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3604, allocations: 0 / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3604, allocations: 4 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.3607, allocations: 56.06 kB / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.3607, allocations: 4 kB / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3609, allocations: 35.77 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.3609, allocations: 8 kB / 1.339 GB, free: 4.027 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.0001886/0.3611, allocations: 178.2 kB / 1.339 GB, free: 3.844 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.3612, allocations: 47.66 kB / 1.339 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006657/0.3618, allocations: 303.2 kB / 1.339 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3618, allocations: 7.938 kB / 1.339 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3618, allocations: 0 / 1.339 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3618, allocations: 0 / 1.339 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.3622, allocations: 352.4 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3622, allocations: 4 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.3625, allocations: 43.91 kB / 1.34 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3625, allocations: 4 kB / 1.34 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.3625, allocations: 0 / 1.34 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.3625, allocations: 4 kB / 1.34 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3625, allocations: 4 kB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.3634, allocations: 446.5 kB / 1.34 GB, free: 2.594 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.3635, allocations: 67.66 kB / 1.34 GB, free: 2.527 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.3636, allocations: 4 kB / 1.34 GB, free: 2.523 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.3637, allocations: 11.98 kB / 1.34 GB, free: 2.512 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.3638, allocations: 19.97 kB / 1.34 GB, free: 2.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.3638, allocations: 11.98 kB / 1.34 GB, free: 2.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003631/0.3642, allocations: 335.2 kB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3642, allocations: 0 / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003144/0.3645, allocations: 71.89 kB / 1.341 GB, free: 2.086 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 (24): * Single equations (assignments): 22 * 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.002705/0.3672, allocations: 1.323 MB / 1.342 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005455/0.3677, allocations: 226.9 kB / 1.342 GB, free: 0.707 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3677, allocations: 0 / 1.342 GB, free: 0.707 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.368, allocations: 107.9 kB / 1.342 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.3685, allocations: 112.1 kB / 1.342 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.3732, allocations: 3.491 MB / 1.346 GB, free: 12.88 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.3734, allocations: 215.4 kB / 1.346 GB, free: 12.65 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.3736, allocations: 51.27 kB / 1.346 GB, free: 12.6 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.3738, allocations: 155.4 kB / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.3738, allocations: 0 / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03896/0.4128, allocations: 10.16 MB / 1.356 GB, free: 2.465 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.29, allocations: 4 kB / 1.356 GB, free: 2.461 MB / 1.045 GB " [Timeout remaining time 289] (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: 17.77317316501285]