Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009243/0.009243, allocations: 101.6 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 190.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 66.27 kB / 0.9508 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2903, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004459/0.2948, allocations: 2.918 MB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2972, allocations: 1.516 MB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.2974, allocations: 11.94 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.2978, allocations: 103.2 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.2982, allocations: 147 kB / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008824/0.2991, allocations: 414.5 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.2996, allocations: 0.538 MB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.3, allocations: 209.1 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.3002, allocations: 211.1 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.3005, allocations: 195 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.796e-05/0.3005, allocations: 44 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.3007, allocations: 103.9 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3008, allocations: 111.6 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.301, allocations: 206.8 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006581/0.3017, allocations: 0.6029 MB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.3017, allocations: 7.984 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3017, allocations: 3.938 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3017, allocations: 0 / 1.095 GB, free: 10.17 MB / 0.8575 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.001225/0.303, allocations: 0.8033 MB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.303, allocations: 12.03 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.3031, allocations: 60.56 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.3038, allocations: 442.8 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.3038, allocations: 20.94 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.3039, allocations: 31.94 kB / 1.096 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.3045, allocations: 335.9 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3045, allocations: 0 / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/0.3045, allocations: 12 kB / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3045, allocations: 4 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004808/0.305, allocations: 218.1 kB / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.3064, allocations: 1.085 MB / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/0.307, allocations: 248.4 kB / 1.098 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.3073, allocations: 116.8 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.3073, allocations: 0 / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.3077, allocations: 151.3 kB / 1.098 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.3077, allocations: 0 / 1.098 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.0008319/0.3085, allocations: 360.1 kB / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.3086, allocations: 106.8 kB / 1.099 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.3091, allocations: 453.9 kB / 1.099 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.3091, allocations: 29.7 kB / 1.099 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.3093, allocations: 232.7 kB / 1.1 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.3094, allocations: 79.36 kB / 1.1 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.639e-05/0.3095, allocations: 57.62 kB / 1.1 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3097, allocations: 358.8 kB / 1.1 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.3099, allocations: 87.95 kB / 1.1 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.3102, allocations: 153.2 kB / 1.1 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/0.3107, allocations: 225.8 kB / 1.101 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3107, allocations: 0 / 1.101 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005926/0.3113, allocations: 308 kB / 1.101 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3113, allocations: 4 kB / 1.101 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3113, allocations: 7.984 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3114, allocations: 0 / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.3116, allocations: 55.91 kB / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3116, allocations: 4 kB / 1.101 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.3118, allocations: 35.7 kB / 1.101 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3118, allocations: 16.16 kB / 1.101 GB, free: 3.824 MB / 0.8575 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.0001837/0.312, allocations: 173.8 kB / 1.101 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.3121, allocations: 47.66 kB / 1.101 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.709e-05/0.3122, allocations: 43.84 kB / 1.101 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3122, allocations: 7.984 kB / 1.101 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3122, allocations: 0 / 1.101 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3122, allocations: 0 / 1.101 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.3126, allocations: 413.3 kB / 1.102 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3126, allocations: 3.938 kB / 1.102 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.3128, allocations: 39.97 kB / 1.102 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3128, allocations: 0 / 1.102 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.3129, allocations: 8 kB / 1.102 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3129, allocations: 0 / 1.102 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3129, allocations: 3.938 kB / 1.102 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000846/0.3137, allocations: 416.6 kB / 1.102 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3139, allocations: 148.7 kB / 1.102 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.314, allocations: 8 kB / 1.102 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.3141, allocations: 11.98 kB / 1.102 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.3142, allocations: 19.97 kB / 1.102 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.3142, allocations: 8 kB / 1.102 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003347/0.3146, allocations: 319.1 kB / 1.103 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3146, allocations: 0 / 1.103 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003204/0.3149, allocations: 75.95 kB / 1.103 GB, free: 2.016 MB / 0.8575 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.001007/0.3159, allocations: 438.7 kB / 1.103 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005815/0.3165, allocations: 221.3 kB / 1.103 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3165, allocations: 320 / 1.103 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.3168, allocations: 115.8 kB / 1.103 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.3174, allocations: 118.7 kB / 1.103 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.3185, allocations: 0.6851 MB / 1.104 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.3189, allocations: 0.811 MB / 1.105 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.3191, allocations: 51.25 kB / 1.105 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.849e-05/0.3192, allocations: 35.42 kB / 1.105 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.3192, allocations: 0 / 1.105 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of Templates: time 0.009303/0.3285, allocations: 4.806 MB / 1.11 GB, free: 10.93 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches