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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001625/0.001625, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001908/0.001909, allocations: 192.8 kB / 16.14 MB, free: 6.734 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.75 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2767, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004187/0.2809, allocations: 2.964 MB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.2834, allocations: 1.488 MB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.2837, allocations: 11.94 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.2842, allocations: 95.45 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.2845, allocations: 111.4 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008439/0.2853, allocations: 382.1 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004768/0.2858, allocations: 491.3 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.2861, allocations: 197.7 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.2864, allocations: 179 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.2866, allocations: 183 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.2866, allocations: 16 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.2868, allocations: 63.97 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2869, allocations: 87.55 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.2871, allocations: 182.8 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005244/0.2876, allocations: 0.5686 MB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2876, allocations: 4 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2876, allocations: 4 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.2876, allocations: 0 / 1.059 GB, free: 1.801 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.001214/0.2889, allocations: 0.7805 MB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2889, allocations: 12.03 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.289, allocations: 64.27 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.2896, allocations: 426.5 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.2897, allocations: 28.81 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.2897, allocations: 27.94 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.2903, allocations: 328 kB / 1.061 GB, free: 36 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2903, allocations: 7.938 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.2904, allocations: 8 kB / 1.061 GB, free: 20 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2904, allocations: 8 kB / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.2909, allocations: 206.2 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.2923, allocations: 1.112 MB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.2929, allocations: 246.8 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.2931, allocations: 108.8 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.2932, allocations: 7.938 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/0.2936, allocations: 151.3 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.2936, allocations: 0 / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008369/0.2945, allocations: 347.9 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.2945, allocations: 110.8 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.295, allocations: 453.8 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.295, allocations: 37.64 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.2952, allocations: 228.5 kB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.2953, allocations: 71.02 kB / 1.064 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/0.2954, allocations: 53.69 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2955, allocations: 354.8 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.2958, allocations: 79.95 kB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.296, allocations: 164.2 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.2965, allocations: 219.1 kB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2965, allocations: 0 / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000611/0.2971, allocations: 308.7 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2971, allocations: 4 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2972, allocations: 0 / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2972, allocations: 8.156 kB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.2974, allocations: 51.91 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2975, allocations: 3.938 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.2977, allocations: 35.67 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.2977, allocations: 12 kB / 1.065 GB, free: 11.51 MB / 0.8262 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.0001857/0.2979, allocations: 175.8 kB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.2979, allocations: 43.47 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.541e-05/0.298, allocations: 55.77 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2981, allocations: 0 / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2981, allocations: 7.875 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2981, allocations: 0 / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.2985, allocations: 421.2 kB / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2985, allocations: 3.938 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.2987, allocations: 35.97 kB / 1.065 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.2987, allocations: 4 kB / 1.065 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.2987, allocations: 4 kB / 1.065 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.2987, allocations: 4 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2988, allocations: 7.984 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.2996, allocations: 414.7 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.2998, allocations: 148.5 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.2998, allocations: 4.047 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3, allocations: 24.03 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.3001, allocations: 19.97 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.3001, allocations: 8 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003358/0.3005, allocations: 315.1 kB / 1.066 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3005, allocations: 0 / 1.066 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000331/0.3008, allocations: 79.83 kB / 1.066 GB, free: 9.68 MB / 0.8262 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.0009729/0.3018, allocations: 429.5 kB / 1.067 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005446/0.3023, allocations: 218.8 kB / 1.067 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3023, allocations: 0 / 1.067 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.3026, allocations: 115.9 kB / 1.067 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.3032, allocations: 96.03 kB / 1.067 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.3044, allocations: 0.8244 MB / 1.068 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.3047, allocations: 0.8112 MB / 1.069 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.305, allocations: 55.23 kB / 1.069 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.3051, allocations: 35.42 kB / 1.069 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3051, allocations: 0 / 1.069 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of Templates: time 0.008869/0.3139, allocations: 4.508 MB / 1.073 GB, free: 2.793 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 -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/jenkins/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