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.001795/0.001795, allocations: 111 kB / 16.46 MB, free: 6.453 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.002056/0.002056, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.407/1.407, allocations: 230.6 MB / 252.8 MB, free: 8.984 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 2.932/2.932, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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.002044/0.002044, allocations: 81 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3393, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005328/0.3447, allocations: 2.966 MB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003357/0.348, allocations: 1.714 MB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004778/0.3485, allocations: 23.75 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.349, allocations: 107.1 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000743/0.3498, allocations: 186.9 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.3509, allocations: 388 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008018/0.3517, allocations: 0.5539 MB / 1.327 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.3521, allocations: 141.4 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004308/0.3525, allocations: 219.1 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.3528, allocations: 210.9 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.374e-05/0.3529, allocations: 40 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.3531, allocations: 103.9 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.3533, allocations: 111.6 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.3535, allocations: 214.7 kB / 1.328 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008631/0.3544, allocations: 0.6186 MB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3544, allocations: 0 / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3544, allocations: 0 / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.836e-05/0.3544, allocations: 3.938 kB / 1.328 GB, free: 11.75 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.001583/0.356, allocations: 0.8188 MB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.356, allocations: 15.98 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.644e-05/0.3561, allocations: 58.73 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.3564, allocations: 76.58 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008065/0.3573, allocations: 454.7 kB / 1.33 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.3573, allocations: 28.69 kB / 1.33 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.3573, allocations: 24 kB / 1.33 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.358, allocations: 327.9 kB / 1.33 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.358, allocations: 4 kB / 1.33 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.3581, allocations: 15.94 kB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3581, allocations: 8 kB / 1.33 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.3586, allocations: 210.1 kB / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.3602, allocations: 1.101 MB / 1.331 GB, free: 8.441 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.3609, allocations: 222.9 kB / 1.331 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.3611, allocations: 104.8 kB / 1.332 GB, free: 8.109 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.3612, allocations: 7.984 kB / 1.332 GB, free: 8.102 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/0.3615, allocations: 161.1 kB / 1.332 GB, free: 7.934 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.3615, allocations: 0 / 1.332 GB, free: 7.934 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.000924/0.3625, allocations: 354.9 kB / 1.332 GB, free: 7.582 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.3625, allocations: 106.8 kB / 1.332 GB, free: 7.453 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/0.3631, allocations: 473.8 kB / 1.333 GB, free: 6.977 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3632, allocations: 29.7 kB / 1.333 GB, free: 6.941 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.3634, allocations: 236.7 kB / 1.333 GB, free: 6.707 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.228e-05/0.3634, allocations: 75.39 kB / 1.333 GB, free: 6.633 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3636, allocations: 57.69 kB / 1.333 GB, free: 6.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3637, allocations: 358.8 kB / 1.333 GB, free: 6.211 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.364, allocations: 79.95 kB / 1.333 GB, free: 6.133 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.3643, allocations: 163.6 kB / 1.334 GB, free: 5.945 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/0.3648, allocations: 218.5 kB / 1.334 GB, free: 5.715 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3648, allocations: 0 / 1.334 GB, free: 5.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000679/0.3655, allocations: 307.4 kB / 1.334 GB, free: 5.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3655, allocations: 4 kB / 1.334 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3655, allocations: 0 / 1.334 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3655, allocations: 4 kB / 1.334 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.3658, allocations: 56.06 kB / 1.334 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3658, allocations: 0 / 1.334 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.366, allocations: 35.77 kB / 1.334 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.366, allocations: 15.98 kB / 1.334 GB, free: 5.297 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.0002183/0.3662, allocations: 173.7 kB / 1.334 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.3663, allocations: 55.64 kB / 1.334 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.3664, allocations: 39.92 kB / 1.334 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3664, allocations: 4 kB / 1.334 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3664, allocations: 4 kB / 1.334 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3664, allocations: 3.984 kB / 1.334 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.3669, allocations: 417.2 kB / 1.335 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3669, allocations: 4 kB / 1.335 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.3671, allocations: 39.91 kB / 1.335 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.3671, allocations: 4 kB / 1.335 GB, free: 4.512 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3671, allocations: 0 / 1.335 GB, free: 4.512 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3671, allocations: 0 / 1.335 GB, free: 4.512 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3671, allocations: 4 kB / 1.335 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000936/0.3681, allocations: 437 kB / 1.335 GB, free: 4.062 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.3683, allocations: 140.8 kB / 1.335 GB, free: 3.906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.3683, allocations: 11.98 kB / 1.335 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3685, allocations: 12 kB / 1.335 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.3686, allocations: 24.03 kB / 1.335 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.3686, allocations: 15.98 kB / 1.335 GB, free: 3.844 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004165/0.369, allocations: 319.1 kB / 1.336 GB, free: 3.531 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.369, allocations: 0 / 1.336 GB, free: 3.531 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003895/0.3694, allocations: 79.81 kB / 1.336 GB, free: 3.453 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.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.002842/0.3722, allocations: 1.288 MB / 1.337 GB, free: 2.305 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006441/0.3729, allocations: 205.3 kB / 1.337 GB, free: 2.105 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3729, allocations: 320 / 1.337 GB, free: 2.105 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.3732, allocations: 115.8 kB / 1.337 GB, free: 1.992 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.3738, allocations: 107.3 kB / 1.338 GB, free: 1.891 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005517/0.3793, allocations: 3.479 MB / 1.341 GB, free: 14.29 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.3798, allocations: 0.8187 MB / 1.342 GB, free: 13.45 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002059/0.38, allocations: 51.27 kB / 1.342 GB, free: 13.4 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.3803, allocations: 149.5 kB / 1.342 GB, free: 13.25 MB / 1.045 GB Notification: Performance of SimCode: time 8.62e-07/0.3803, allocations: 0 / 1.342 GB, free: 13.25 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/0.4173, allocations: 9.205 MB / 1.351 GB, free: 4.258 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.393/8.81, allocations: 8.953 kB / 1.351 GB, free: 4.254 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.113938268041238]