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.001579/0.001579, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00144/0.00144, allocations: 209.8 kB / 23.01 MB, free: 4.566 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.225/3.225, allocations: 0.49 GB / 0.7958 GB, free: 33.38 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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [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.002205/0.002205, allocations: 67.39 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4123, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005341/0.4176, allocations: 3.001 MB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003267/0.4209, allocations: 1.734 MB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.4212, allocations: 19.81 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.4216, allocations: 107.1 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.4221, allocations: 186.9 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009885/0.4231, allocations: 402.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.4238, allocations: 0.55 MB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.4241, allocations: 141.7 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.4245, allocations: 219.1 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.4248, allocations: 210.9 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.4249, allocations: 40 kB / 1.334 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.4251, allocations: 119.9 kB / 1.334 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.4252, allocations: 103.6 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.4255, allocations: 218.7 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008385/0.4263, allocations: 0.6069 MB / 1.335 GB, free: 9.836 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4263, allocations: 0 / 1.335 GB, free: 9.836 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4263, allocations: 0 / 1.335 GB, free: 9.836 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.4263, allocations: 3.938 kB / 1.335 GB, free: 9.832 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.001368/0.4277, allocations: 0.7475 MB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4277, allocations: 8.031 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/0.428, allocations: 76.58 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000787/0.4288, allocations: 395.6 kB / 1.336 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.4289, allocations: 21.03 kB / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.4289, allocations: 27.94 kB / 1.336 GB, free: 8.504 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.4296, allocations: 333 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4296, allocations: 0 / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.4296, allocations: 12 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.4296, allocations: 8 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/0.4302, allocations: 213.8 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.4318, allocations: 1.066 MB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.4325, allocations: 234.8 kB / 1.338 GB, free: 6.562 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.4327, allocations: 100.8 kB / 1.338 GB, free: 6.461 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.4327, allocations: 4 kB / 1.338 GB, free: 6.457 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003574/0.4331, allocations: 162.1 kB / 1.338 GB, free: 6.289 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.4331, allocations: 0 / 1.338 GB, free: 6.289 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0008651/0.434, allocations: 349.1 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.94e-05/0.434, allocations: 110.8 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.4346, allocations: 465.9 kB / 1.339 GB, free: 5.344 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.4346, allocations: 29.7 kB / 1.339 GB, free: 5.309 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.4349, allocations: 236.7 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.4349, allocations: 79.38 kB / 1.339 GB, free: 4.992 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.435, allocations: 53.69 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4352, allocations: 354.8 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.4355, allocations: 79.95 kB / 1.34 GB, free: 4.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.4357, allocations: 167.6 kB / 1.34 GB, free: 4.309 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.4362, allocations: 214.9 kB / 1.34 GB, free: 4.082 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4362, allocations: 0 / 1.34 GB, free: 4.082 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006187/0.4368, allocations: 314.6 kB / 1.34 GB, free: 3.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4369, allocations: 4 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.4369, allocations: 0 / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4369, allocations: 4 kB / 1.34 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.4371, allocations: 51.91 kB / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4371, allocations: 4 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.4373, allocations: 35.77 kB / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.4373, allocations: 12.12 kB / 1.34 GB, free: 3.66 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.0002214/0.4376, allocations: 178.3 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.4376, allocations: 51.66 kB / 1.341 GB, free: 3.426 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006637/0.4383, allocations: 286.9 kB / 1.341 GB, free: 3.145 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4383, allocations: 7.984 kB / 1.341 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4383, allocations: 0 / 1.341 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4383, allocations: 4 kB / 1.341 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.4387, allocations: 392.3 kB / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4387, allocations: 3.938 kB / 1.341 GB, free: 2.703 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.4389, allocations: 31.97 kB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.439, allocations: 4 kB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.439, allocations: 4 kB / 1.341 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.439, allocations: 3.984 kB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.439, allocations: 7.938 kB / 1.341 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000877/0.4399, allocations: 423.5 kB / 1.342 GB, free: 2.223 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.44, allocations: 75.58 kB / 1.342 GB, free: 2.148 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.4401, allocations: 8 kB / 1.342 GB, free: 2.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.4402, allocations: 7.984 kB / 1.342 GB, free: 2.133 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.4403, allocations: 19.97 kB / 1.342 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.4403, allocations: 12.06 kB / 1.342 GB, free: 2.102 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003911/0.4407, allocations: 331.1 kB / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4407, allocations: 0 / 1.342 GB, free: 1.781 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003451/0.441, allocations: 75.88 kB / 1.342 GB, free: 1.707 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.001633/0.4427, allocations: 438.6 kB / 1.343 GB, free: 1.434 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005784/0.4433, allocations: 211.9 kB / 1.343 GB, free: 1.227 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4433, allocations: 0 / 1.343 GB, free: 1.227 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.4435, allocations: 107.8 kB / 1.343 GB, free: 1.121 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.4441, allocations: 113.1 kB / 1.343 GB, free: 1.016 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.4455, allocations: 0.7363 MB / 1.344 GB, free: 248 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.4461, allocations: 0.8109 MB / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.4462, allocations: 39.42 kB / 1.345 GB, free: 15.36 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/0.4462, allocations: 0 / 1.345 GB, free: 15.36 MB / 1.045 GB Notification: Performance of Templates: time 0.01009/0.4563, allocations: 5.774 MB / 1.35 GB, free: 9.629 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] 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: 12.618617022002582]