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.001952/0.001952, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.003173/0.003173, allocations: 216 kB / 22.26 MB, free: 5.113 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.016 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.882/2.882, allocations: 476.7 MB / 0.7706 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_11_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_11_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.002084/0.002084, allocations: 67.14 kB / 1.118 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4124, allocations: 170 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.00529/0.4177, allocations: 2.994 MB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003526/0.4212, allocations: 1.718 MB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.4217, allocations: 19.81 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005387/0.4222, allocations: 107.2 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005909/0.4228, allocations: 182.8 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.4241, allocations: 415.4 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008111/0.4249, allocations: 0.5422 MB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.4252, allocations: 145.7 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.4257, allocations: 223.1 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.426, allocations: 206.9 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.862e-05/0.4261, allocations: 40 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.4264, allocations: 119.9 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.4266, allocations: 107.6 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.4268, allocations: 214.7 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009542/0.4278, allocations: 0.6147 MB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4278, allocations: 0 / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4278, allocations: 0 / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.4278, allocations: 0 / 1.291 GB, free: 3.547 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.001484/0.4293, allocations: 0.7436 MB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.4293, allocations: 12.03 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.4297, allocations: 72.55 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000857/0.4305, allocations: 399.6 kB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.4305, allocations: 21.03 kB / 1.292 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.4306, allocations: 27.94 kB / 1.292 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/0.4313, allocations: 333 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4313, allocations: 4 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.4313, allocations: 8 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.4313, allocations: 11.94 kB / 1.293 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/0.4318, allocations: 209.8 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.4335, allocations: 1.069 MB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/0.4342, allocations: 222.9 kB / 1.294 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.4344, allocations: 104.8 kB / 1.294 GB, free: 180 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.4345, allocations: 4 kB / 1.294 GB, free: 176 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/0.4348, allocations: 154.4 kB / 1.295 GB, free: 12 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.393e-06/0.4348, allocations: 7.938 kB / 1.295 GB, free: 4 kB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0009047/0.4357, allocations: 353.2 kB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001833/0.4359, allocations: 102.8 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/0.4366, allocations: 465.9 kB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.4366, allocations: 29.7 kB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.4369, allocations: 240.7 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/0.4369, allocations: 79.28 kB / 1.296 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/0.437, allocations: 57.64 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.4372, allocations: 358.8 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.4374, allocations: 79.95 kB / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.4377, allocations: 168.7 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.4382, allocations: 215.3 kB / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.4382, allocations: 4 kB / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006184/0.4388, allocations: 301 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4389, allocations: 4 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.4389, allocations: 8.156 kB / 1.297 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.4389, allocations: 3.984 kB / 1.297 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.4392, allocations: 55.91 kB / 1.297 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.4392, allocations: 7.984 kB / 1.297 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.4393, allocations: 31.77 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.4394, allocations: 15.94 kB / 1.297 GB, free: 13.36 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.0002338/0.4396, allocations: 177.8 kB / 1.297 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.4397, allocations: 47.66 kB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.4403, allocations: 292.6 kB / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4403, allocations: 4 kB / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4403, allocations: 0 / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4403, allocations: 0 / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.4408, allocations: 392.3 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4408, allocations: 3.938 kB / 1.298 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.441, allocations: 39.97 kB / 1.298 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.441, allocations: 0 / 1.298 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.4411, allocations: 4.047 kB / 1.298 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4411, allocations: 4 kB / 1.298 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4411, allocations: 3.984 kB / 1.298 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008857/0.442, allocations: 420.5 kB / 1.298 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.4421, allocations: 67.66 kB / 1.298 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.4422, allocations: 8 kB / 1.298 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.4423, allocations: 11.98 kB / 1.298 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.4424, allocations: 19.97 kB / 1.298 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.4424, allocations: 11.98 kB / 1.298 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004204/0.4429, allocations: 327.1 kB / 1.299 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4429, allocations: 0 / 1.299 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000383/0.4432, allocations: 79.84 kB / 1.299 GB, free: 11.41 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.001815/0.4451, allocations: 444.2 kB / 1.299 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006034/0.4457, allocations: 214.3 kB / 1.299 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4457, allocations: 0 / 1.299 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.4459, allocations: 112.1 kB / 1.3 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.4465, allocations: 111.4 kB / 1.3 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.4481, allocations: 0.6915 MB / 1.3 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/0.4486, allocations: 0.8188 MB / 1.301 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.4488, allocations: 55.23 kB / 1.301 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.797e-05/0.4489, allocations: 35.44 kB / 1.301 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/0.4489, allocations: 0 / 1.301 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of Templates: time 0.01228/0.4612, allocations: 4.982 MB / 1.306 GB, free: 4.168 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.936136722099036]