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.002065/0.002065, allocations: 108.5 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.002644/0.002644, allocations: 216.2 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.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.299/3.299, allocations: 0.49 GB / 0.7915 GB, free: 33.24 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.002329/0.002329, allocations: 63.33 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4856, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005664/0.4912, allocations: 2.966 MB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003862/0.4951, allocations: 1.721 MB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003641/0.4954, allocations: 15.88 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.4959, allocations: 103.1 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.4964, allocations: 194.8 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.4976, allocations: 387.1 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007785/0.4984, allocations: 0.5461 MB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.4987, allocations: 141.1 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.4992, allocations: 219.1 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.4996, allocations: 214.9 kB / 1.328 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.646e-05/0.4996, allocations: 44 kB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.4999, allocations: 99.97 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.5, allocations: 115.5 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.5002, allocations: 206.8 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009063/0.5011, allocations: 0.6185 MB / 1.329 GB, free: 11.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5012, allocations: 0 / 1.329 GB, free: 11.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5012, allocations: 0 / 1.329 GB, free: 11.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.5012, allocations: 0 / 1.329 GB, free: 11.25 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.001511/0.5027, allocations: 0.8266 MB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5027, allocations: 15.98 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002944/0.503, allocations: 68.59 kB / 1.33 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008162/0.5038, allocations: 462.7 kB / 1.33 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.5039, allocations: 20.94 kB / 1.33 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/0.5039, allocations: 27.94 kB / 1.33 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.5046, allocations: 331.9 kB / 1.33 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.5046, allocations: 0 / 1.33 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.5046, allocations: 12 kB / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.5046, allocations: 7.984 kB / 1.33 GB, free: 9.383 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.5052, allocations: 210.1 kB / 1.331 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.5068, allocations: 1.105 MB / 1.332 GB, free: 8.004 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.5074, allocations: 222.9 kB / 1.332 GB, free: 7.777 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.5077, allocations: 104.8 kB / 1.332 GB, free: 7.672 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.5077, allocations: 4 kB / 1.332 GB, free: 7.668 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003613/0.5081, allocations: 155.3 kB / 1.332 GB, free: 7.504 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.502e-06/0.5081, allocations: 0 / 1.332 GB, free: 7.504 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009155/0.509, allocations: 354.8 kB / 1.332 GB, free: 7.152 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.5091, allocations: 110.8 kB / 1.333 GB, free: 7.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.5097, allocations: 473.8 kB / 1.333 GB, free: 6.543 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.5097, allocations: 33.7 kB / 1.333 GB, free: 6.504 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.5099, allocations: 232.7 kB / 1.333 GB, free: 6.273 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.51, allocations: 79.36 kB / 1.333 GB, free: 6.195 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.5101, allocations: 49.7 kB / 1.333 GB, free: 6.141 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.5103, allocations: 358.8 kB / 1.334 GB, free: 5.781 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.5105, allocations: 83.95 kB / 1.334 GB, free: 5.699 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.5108, allocations: 155.7 kB / 1.334 GB, free: 5.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.5113, allocations: 224.5 kB / 1.334 GB, free: 5.285 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5113, allocations: 4 kB / 1.334 GB, free: 5.281 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000644/0.5119, allocations: 305 kB / 1.334 GB, free: 4.977 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5119, allocations: 4 kB / 1.334 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.512, allocations: 4 kB / 1.334 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.512, allocations: 3.984 kB / 1.334 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.5122, allocations: 51.91 kB / 1.334 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.5122, allocations: 4 kB / 1.334 GB, free: 4.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.5124, allocations: 27.83 kB / 1.335 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.5125, allocations: 12 kB / 1.335 GB, free: 4.871 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.0002194/0.5127, allocations: 189.8 kB / 1.335 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.5127, allocations: 51.59 kB / 1.335 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.71e-05/0.5128, allocations: 39.92 kB / 1.335 GB, free: 4.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5128, allocations: 4 kB / 1.335 GB, free: 4.586 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5129, allocations: 3.984 kB / 1.335 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.5129, allocations: 4.031 kB / 1.335 GB, free: 4.578 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.5133, allocations: 413.3 kB / 1.335 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.5133, allocations: 3.938 kB / 1.335 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.5135, allocations: 47.91 kB / 1.335 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5136, allocations: 0 / 1.335 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.5136, allocations: 0 / 1.335 GB, free: 4.074 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.5136, allocations: 7.984 kB / 1.335 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5136, allocations: 0 / 1.335 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/0.5145, allocations: 424 kB / 1.336 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.5147, allocations: 148.7 kB / 1.336 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.5147, allocations: 8 kB / 1.336 GB, free: 3.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.5149, allocations: 11.98 kB / 1.336 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.515, allocations: 19.98 kB / 1.336 GB, free: 3.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.515, allocations: 11.98 kB / 1.336 GB, free: 3.422 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003946/0.5154, allocations: 323.1 kB / 1.336 GB, free: 3.105 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5154, allocations: 0 / 1.336 GB, free: 3.105 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003614/0.5157, allocations: 79.83 kB / 1.336 GB, free: 3.027 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.001677/0.5174, allocations: 449.1 kB / 1.337 GB, free: 2.742 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005882/0.518, allocations: 211.6 kB / 1.337 GB, free: 2.535 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.518, allocations: 0 / 1.337 GB, free: 2.535 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.5183, allocations: 104.2 kB / 1.337 GB, free: 2.434 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.5188, allocations: 111.3 kB / 1.337 GB, free: 2.328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.5202, allocations: 0.7051 MB / 1.338 GB, free: 1.598 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.5207, allocations: 0.8188 MB / 1.339 GB, free: 0.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000177/0.5209, allocations: 55.25 kB / 1.339 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-05/0.521, allocations: 31.44 kB / 1.339 GB, free: 0.668 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.521, allocations: 0 / 1.339 GB, free: 0.668 MB / 1.029 GB Notification: Performance of Templates: time 0.01103/0.532, allocations: 4.874 MB / 1.343 GB, free: 11.88 MB / 1.045 GB " [Timeout remaining time 299] 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/jenkins/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: 9.976838164962828]