Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 111.8 kB / 17.08 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002349/0.002349, allocations: 191.7 kB / 20.03 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.161/3.161, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003052/0.003052, allocations: 67.88 kB / 1.103 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268/1.271, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005009/1.276, allocations: 2.919 MB / 1.265 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002955/1.279, allocations: 1.516 MB / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/1.28, allocations: 12.38 kB / 1.267 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004796/1.28, allocations: 100.9 kB / 1.267 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004463/1.281, allocations: 147.9 kB / 1.267 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/1.282, allocations: 417.3 kB / 1.268 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007109/1.283, allocations: 0.526 MB / 1.268 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000394/1.283, allocations: 209 kB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/1.283, allocations: 210.9 kB / 1.268 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/1.284, allocations: 196.7 kB / 1.269 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.497e-05/1.284, allocations: 41.62 kB / 1.269 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/1.284, allocations: 104.6 kB / 1.269 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/1.284, allocations: 109.9 kB / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/1.284, allocations: 208.7 kB / 1.269 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/1.285, allocations: 0.5981 MB / 1.27 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.285, allocations: 4.719 kB / 1.27 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/1.285, allocations: 0 / 1.27 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.237e-06/1.285, allocations: 5.828 kB / 1.27 GB, free: 3.379 MB / 0.9981 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.00127/1.287, allocations: 0.7979 MB / 1.27 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.287, allocations: 9.406 kB / 1.27 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/1.287, allocations: 62.78 kB / 1.271 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006918/1.288, allocations: 445.9 kB / 1.271 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/1.288, allocations: 20.53 kB / 1.271 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/1.288, allocations: 31.11 kB / 1.271 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/1.288, allocations: 331.1 kB / 1.271 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/1.288, allocations: 0.625 kB / 1.271 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/1.288, allocations: 10.84 kB / 1.271 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/1.288, allocations: 6.875 kB / 1.271 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/1.289, allocations: 214.2 kB / 1.272 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/1.29, allocations: 1.091 MB / 1.273 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/1.291, allocations: 242.3 kB / 1.273 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/1.291, allocations: 112.3 kB / 1.273 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/1.291, allocations: 7.875 kB / 1.273 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/1.292, allocations: 155.4 kB / 1.273 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 3.396e-06/1.292, allocations: 7.922 kB / 1.273 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.000935/1.293, allocations: 350.5 kB / 1.273 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/1.293, allocations: 106.2 kB / 1.274 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/1.293, allocations: 452.7 kB / 1.274 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/1.293, allocations: 35.58 kB / 1.274 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/1.294, allocations: 240.3 kB / 1.274 GB, free: 312 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/1.294, allocations: 72.11 kB / 1.274 GB, free: 252 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.294, allocations: 54.62 kB / 1.274 GB, free: 220 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.294, allocations: 353.8 kB / 1.275 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/1.294, allocations: 82.64 kB / 1.275 GB, free: 15.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/1.295, allocations: 163.1 kB / 1.275 GB, free: 15.74 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/1.295, allocations: 224.6 kB / 1.275 GB, free: 15.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.295, allocations: 1.219 kB / 1.275 GB, free: 15.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007136/1.296, allocations: 306.9 kB / 1.275 GB, free: 15.47 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.296, allocations: 9.438 kB / 1.275 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.296, allocations: 2.062 kB / 1.275 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.296, allocations: 6.688 kB / 1.275 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/1.296, allocations: 52.33 kB / 1.276 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.296, allocations: 3.469 kB / 1.276 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/1.296, allocations: 28.42 kB / 1.276 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/1.296, allocations: 15.48 kB / 1.276 GB, free: 15.44 MB / 1.014 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.0002533/1.297, allocations: 180.6 kB / 1.276 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/1.297, allocations: 48 kB / 1.276 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/1.297, allocations: 44.14 kB / 1.276 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.297, allocations: 3.031 kB / 1.276 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/1.297, allocations: 0 / 1.276 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/1.297, allocations: 2.484 kB / 1.276 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/1.297, allocations: 411.4 kB / 1.276 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.297, allocations: 8.938 kB / 1.276 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/1.298, allocations: 39.16 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.298, allocations: 5.156 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/1.298, allocations: 6.031 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.298, allocations: 1.969 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.298, allocations: 0.5 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009736/1.299, allocations: 421.4 kB / 1.277 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/1.299, allocations: 144.6 kB / 1.277 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/1.299, allocations: 6.281 kB / 1.277 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/1.299, allocations: 13.67 kB / 1.277 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/1.299, allocations: 24.84 kB / 1.277 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/1.299, allocations: 5.844 kB / 1.277 GB, free: 14.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004069/1.3, allocations: 319.1 kB / 1.277 GB, free: 14.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/1.3, allocations: 0 / 1.277 GB, free: 14.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003995/1.3, allocations: 80.98 kB / 1.277 GB, free: 14.39 MB / 1.014 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.001699/1.302, allocations: 439 kB / 1.278 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006257/1.302, allocations: 220.2 kB / 1.278 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.302, allocations: 5.219 kB / 1.278 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/1.303, allocations: 119.9 kB / 1.278 GB, free: 14.08 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/1.303, allocations: 110 kB / 1.278 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/1.305, allocations: 0.7277 MB / 1.279 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/1.305, allocations: 0.8216 MB / 1.28 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/1.306, allocations: 34.3 kB / 1.28 GB, free: 12.86 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/1.306, allocations: 0 / 1.28 GB, free: 12.86 MB / 1.014 GB Notification: Performance of Templates: time 0.01135/1.317, allocations: 5.66 MB / 1.285 GB, free: 12.2 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.808813323965296]