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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|cooTowSpeCon.TCHWSupSet|cooTowSpeCon.TCWSupSet|cooTowSpeCon.TCHWSup|cooTowSpeCon.TCWSup|cooTowSpeCon.cooMod|cooTowSpeCon.y",fileNamePrefix="Buildings_latest_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.001633/0.00164, allocations: 104.3 kB / 16.36 MB, free: 5.824 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.002012/0.002012, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.537/2.537, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2928, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004223/0.297, allocations: 2.942 MB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002316/0.2994, allocations: 1.516 MB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.2996, allocations: 11.94 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.3, allocations: 99.22 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.3003, allocations: 143 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008885/0.3012, allocations: 421.4 kB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000538/0.3018, allocations: 0.5344 MB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.3021, allocations: 201.1 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.3024, allocations: 207.1 kB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.3026, allocations: 199 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.866e-05/0.3027, allocations: 43.94 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.3028, allocations: 95.97 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.303, allocations: 103.7 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.3032, allocations: 218.7 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005824/0.3037, allocations: 0.5955 MB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3038, allocations: 0 / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3038, allocations: 0 / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.3038, allocations: 8 kB / 1.034 GB, free: 10.71 MB / 0.8106 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.001158/0.3049, allocations: 0.792 MB / 1.035 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.305, allocations: 8.031 kB / 1.035 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.141e-05/0.3051, allocations: 56.38 kB / 1.035 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.3057, allocations: 438.5 kB / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.3058, allocations: 24.88 kB / 1.035 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.3058, allocations: 27.94 kB / 1.035 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005631/0.3064, allocations: 328 kB / 1.035 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3064, allocations: 3.938 kB / 1.035 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3065, allocations: 12 kB / 1.035 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3065, allocations: 8 kB / 1.035 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/0.307, allocations: 206.1 kB / 1.036 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.3083, allocations: 1.112 MB / 1.037 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.3089, allocations: 234.9 kB / 1.037 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.3092, allocations: 112.8 kB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.3092, allocations: 7.938 kB / 1.037 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003503/0.3096, allocations: 156.7 kB / 1.037 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/0.3096, allocations: 0 / 1.037 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.0008381/0.3104, allocations: 342.5 kB / 1.038 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.3105, allocations: 106.8 kB / 1.038 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/0.311, allocations: 457.9 kB / 1.038 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.311, allocations: 37.62 kB / 1.038 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3112, allocations: 224.5 kB / 1.038 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.3113, allocations: 78.94 kB / 1.038 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.3114, allocations: 53.69 kB / 1.039 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3116, allocations: 350.8 kB / 1.039 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.3118, allocations: 83.95 kB / 1.039 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.3121, allocations: 164.7 kB / 1.039 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.3126, allocations: 219.5 kB / 1.039 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3126, allocations: 0 / 1.039 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000625/0.3132, allocations: 310.6 kB / 1.04 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3133, allocations: 10.19 kB / 1.04 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3133, allocations: 0 / 1.04 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.3133, allocations: 4 kB / 1.04 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.3136, allocations: 47.91 kB / 1.04 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3136, allocations: 7.938 kB / 1.04 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.3138, allocations: 35.67 kB / 1.04 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.3138, allocations: 12 kB / 1.04 GB, free: 4.41 MB / 0.8106 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.0002587/0.3141, allocations: 182.5 kB / 1.04 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.3141, allocations: 43.47 kB / 1.04 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.601e-05/0.3142, allocations: 47.77 kB / 1.04 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3142, allocations: 4 kB / 1.04 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3142, allocations: 0 / 1.04 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.3143, allocations: 0 / 1.04 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.3147, allocations: 413.2 kB / 1.04 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3147, allocations: 3.938 kB / 1.04 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.3149, allocations: 35.97 kB / 1.04 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.315, allocations: 4 kB / 1.04 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.315, allocations: 8 kB / 1.04 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.315, allocations: 0 / 1.04 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.315, allocations: 3.938 kB / 1.04 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008776/0.3159, allocations: 426.2 kB / 1.041 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.3161, allocations: 148.5 kB / 1.041 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.3161, allocations: 4 kB / 1.041 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.3163, allocations: 15.98 kB / 1.041 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.931e-05/0.3164, allocations: 15.98 kB / 1.041 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.3164, allocations: 7.984 kB / 1.041 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003348/0.3167, allocations: 319.1 kB / 1.041 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.533e-06/0.3167, allocations: 0 / 1.041 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000335/0.3171, allocations: 79.77 kB / 1.041 GB, free: 2.586 MB / 0.8106 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.001028/0.3181, allocations: 426 kB / 1.042 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005641/0.3187, allocations: 219.7 kB / 1.042 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3187, allocations: 0 / 1.042 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.319, allocations: 118.6 kB / 1.042 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.3195, allocations: 110.8 kB / 1.042 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.3209, allocations: 0.6821 MB / 1.043 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.3215, allocations: 0.8109 MB / 1.044 GB, free: 348 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000189/0.3217, allocations: 51.25 kB / 1.044 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.131e-05/0.3218, allocations: 39.42 kB / 1.044 GB, free: 256 kB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3218, allocations: 0 / 1.044 GB, free: 256 kB / 0.8106 GB Notification: Performance of Templates: time 0.009761/0.3315, allocations: 4.745 MB / 1.048 GB, free: 11.6 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches