Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001065/0.001065, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001666/0.001666, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003831, allocations: 8 kB / 0.8728 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5812, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003544/0.5848, allocations: 2.576 MB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.5873, allocations: 1.457 MB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.5875, allocations: 11.94 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.5878, allocations: 83.47 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.5881, allocations: 119.4 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.589, allocations: 378.6 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004851/0.5895, allocations: 495.2 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.5898, allocations: 197.1 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.59, allocations: 151.1 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.5903, allocations: 162.9 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.5903, allocations: 8 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.5904, allocations: 55.97 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.467e-05/0.5905, allocations: 67.62 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.5907, allocations: 192.5 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.5912, allocations: 0.5467 MB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5913, allocations: 0 / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5913, allocations: 0 / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.5913, allocations: 0 / 1.029 GB, free: 9.34 MB / 0.7794 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.001094/0.5924, allocations: 0.7221 MB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.5924, allocations: 12.03 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.5925, allocations: 56.28 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/0.5931, allocations: 430.5 kB / 1.031 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.5931, allocations: 24.88 kB / 1.031 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.462e-05/0.5932, allocations: 35.84 kB / 1.031 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/0.5938, allocations: 336 kB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5938, allocations: 3.938 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.5939, allocations: 12 kB / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.5939, allocations: 4 kB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.5944, allocations: 218.1 kB / 1.031 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.5958, allocations: 1.104 MB / 1.032 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.5964, allocations: 239.7 kB / 1.032 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.5967, allocations: 124.8 kB / 1.033 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.5967, allocations: 7.938 kB / 1.033 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.5971, allocations: 157.6 kB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.5971, allocations: 4 kB / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.000864/0.598, allocations: 366.2 kB / 1.033 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.5981, allocations: 106.8 kB / 1.033 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/0.5986, allocations: 453.8 kB / 1.034 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.5986, allocations: 37.64 kB / 1.034 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.5988, allocations: 236.5 kB / 1.034 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.5989, allocations: 71 kB / 1.034 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.5989, allocations: 33.64 kB / 1.034 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5991, allocations: 350.8 kB / 1.034 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.5993, allocations: 87.95 kB / 1.034 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.5996, allocations: 159.7 kB / 1.035 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.6001, allocations: 225.8 kB / 1.035 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6001, allocations: 0 / 1.035 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006235/0.6007, allocations: 306.6 kB / 1.035 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.6007, allocations: 8 kB / 1.035 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6008, allocations: 0 / 1.035 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6008, allocations: 7.984 kB / 1.035 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.601, allocations: 64 kB / 1.035 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.6011, allocations: 11.92 kB / 1.035 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.6012, allocations: 31.73 kB / 1.035 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.6013, allocations: 8 kB / 1.035 GB, free: 3.055 MB / 0.7794 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.0001915/0.6015, allocations: 174.3 kB / 1.035 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.6015, allocations: 47.38 kB / 1.035 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.473e-05/0.6017, allocations: 51.78 kB / 1.035 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.6017, allocations: 4 kB / 1.035 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6017, allocations: 3.984 kB / 1.035 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6017, allocations: 0 / 1.035 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.6021, allocations: 409.3 kB / 1.036 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6021, allocations: 7.938 kB / 1.036 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.6023, allocations: 39.97 kB / 1.036 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6023, allocations: 0 / 1.036 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.6024, allocations: 8 kB / 1.036 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.6024, allocations: 0 / 1.036 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6024, allocations: 4 kB / 1.036 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008769/0.6033, allocations: 434.8 kB / 1.036 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.6034, allocations: 148.4 kB / 1.036 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.6035, allocations: 11.98 kB / 1.036 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.6036, allocations: 15.98 kB / 1.036 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.6037, allocations: 11.98 kB / 1.036 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.6038, allocations: 11.98 kB / 1.036 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003442/0.6041, allocations: 319.1 kB / 1.037 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6041, allocations: 64 / 1.037 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003362/0.6045, allocations: 83.83 kB / 1.037 GB, free: 1.207 MB / 0.7794 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.0009884/0.6055, allocations: 436.2 kB / 1.037 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005504/0.606, allocations: 224 kB / 1.037 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.606, allocations: 0 / 1.037 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.6063, allocations: 121.1 kB / 1.038 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.6069, allocations: 106 kB / 1.038 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.6081, allocations: 0.8367 MB / 1.039 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.6085, allocations: 0.8151 MB / 1.039 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001922/0.6087, allocations: 47.27 kB / 1.039 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.6088, allocations: 31.42 kB / 1.039 GB, free: 14.72 MB / 0.795 GB Notification: Performance of SimCode: time 3.7e-07/0.6088, allocations: 4 kB / 1.039 GB, free: 14.71 MB / 0.795 GB Notification: Performance of Templates: time 0.008871/0.6177, allocations: 4.471 MB / 1.044 GB, free: 10.33 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches