Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007048/0.007048, allocations: 96.84 kB / 15.73 MB, free: 6.047 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.001579/0.001579, allocations: 192.8 kB / 16.67 MB, free: 5.957 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.499/2.499, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59.91 kB / 1.054 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7552, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002334/0.7576, allocations: 1.333 MB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1574/0.9151, allocations: 147.9 MB / 1.353 GB, free: 7.805 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.9151, allocations: 0 / 1.353 GB, free: 7.805 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.026e-05/0.9152, allocations: 7.938 kB / 1.353 GB, free: 7.797 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.9154, allocations: 39.81 kB / 1.354 GB, free: 7.758 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.9166, allocations: 358.5 kB / 1.354 GB, free: 7.406 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.9167, allocations: 67.81 kB / 1.354 GB, free: 7.34 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.9167, allocations: 4 kB / 1.354 GB, free: 7.336 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.9168, allocations: 31.91 kB / 1.354 GB, free: 7.305 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.9169, allocations: 51.94 kB / 1.354 GB, free: 7.254 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.9169, allocations: 7.938 kB / 1.354 GB, free: 7.246 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.9176, allocations: 407.1 kB / 1.354 GB, free: 6.848 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.9177, allocations: 19.97 kB / 1.354 GB, free: 6.828 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.9177, allocations: 35.8 kB / 1.354 GB, free: 6.793 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.9181, allocations: 273.1 kB / 1.355 GB, free: 6.531 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9182, allocations: 8 kB / 1.355 GB, free: 6.523 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9182, allocations: 0 / 1.355 GB, free: 6.523 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5e-06/0.9182, allocations: 0 / 1.355 GB, free: 6.523 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004068/0.9186, allocations: 391.3 kB / 1.355 GB, free: 6.094 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.9186, allocations: 8.031 kB / 1.355 GB, free: 6.086 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.9187, allocations: 4.938 kB / 1.355 GB, free: 6.082 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.9188, allocations: 172.2 kB / 1.355 GB, free: 5.875 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.9188, allocations: 7.938 kB / 1.355 GB, free: 5.867 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.9188, allocations: 7.984 kB / 1.355 GB, free: 5.859 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.919, allocations: 97.59 kB / 1.355 GB, free: 5.758 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.919, allocations: 0 / 1.355 GB, free: 5.758 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.919, allocations: 3.938 kB / 1.355 GB, free: 5.754 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.919, allocations: 12 kB / 1.355 GB, free: 5.742 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.9192, allocations: 79.89 kB / 1.355 GB, free: 5.664 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.9196, allocations: 336.7 kB / 1.356 GB, free: 5.285 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.9198, allocations: 102.5 kB / 1.356 GB, free: 5.176 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.9199, allocations: 56.89 kB / 1.356 GB, free: 5.117 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008253/0.9207, allocations: 465.4 kB / 1.356 GB, free: 4.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.9208, allocations: 34.59 kB / 1.356 GB, free: 4.527 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.9208, allocations: 0 / 1.356 GB, free: 4.527 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0002482/0.921, allocations: 129.6 kB / 1.357 GB, free: 4.395 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.9211, allocations: 55.34 kB / 1.357 GB, free: 4.328 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.9212, allocations: 117.9 kB / 1.357 GB, free: 4.203 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.9212, allocations: 25.7 kB / 1.357 GB, free: 4.172 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.9213, allocations: 104.1 kB / 1.357 GB, free: 4.066 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.9213, allocations: 39.39 kB / 1.357 GB, free: 4.027 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.9213, allocations: 29.72 kB / 1.357 GB, free: 3.992 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.9215, allocations: 326.8 kB / 1.357 GB, free: 3.664 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.108e-05/0.9215, allocations: 31.98 kB / 1.357 GB, free: 3.633 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.621e-05/0.9216, allocations: 73.06 kB / 1.357 GB, free: 3.543 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.9218, allocations: 117.5 kB / 1.357 GB, free: 3.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.9218, allocations: 4 kB / 1.357 GB, free: 3.406 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001945/0.922, allocations: 137.4 kB / 1.358 GB, free: 3.266 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.922, allocations: 9.562 kB / 1.358 GB, free: 3.258 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.922, allocations: 0 / 1.358 GB, free: 3.258 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.922, allocations: 4 kB / 1.358 GB, free: 3.254 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.9221, allocations: 36.02 kB / 1.358 GB, free: 3.219 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.9221, allocations: 4 kB / 1.358 GB, free: 3.215 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.9222, allocations: 11.84 kB / 1.358 GB, free: 3.203 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.9222, allocations: 8 kB / 1.358 GB, free: 3.195 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 8.898e-05/0.9223, allocations: 121.8 kB / 1.358 GB, free: 3.066 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.9223, allocations: 7.906 kB / 1.358 GB, free: 3.059 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.9225, allocations: 117.9 kB / 1.358 GB, free: 2.938 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.9226, allocations: 7.938 kB / 1.358 GB, free: 2.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.9226, allocations: 0 / 1.358 GB, free: 2.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.9226, allocations: 3.984 kB / 1.358 GB, free: 2.926 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.9228, allocations: 181.6 kB / 1.358 GB, free: 2.699 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9228, allocations: 0 / 1.358 GB, free: 2.699 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.9228, allocations: 23.98 kB / 1.358 GB, free: 2.676 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9229, allocations: 0 / 1.358 GB, free: 2.676 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.9229, allocations: 0 / 1.358 GB, free: 2.676 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.9229, allocations: 3.938 kB / 1.358 GB, free: 2.672 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9229, allocations: 0 / 1.358 GB, free: 2.672 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.9231, allocations: 207.5 kB / 1.358 GB, free: 2.453 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.395e-05/0.9232, allocations: 100.9 kB / 1.358 GB, free: 2.336 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.9232, allocations: 0 / 1.358 GB, free: 2.336 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.9232, allocations: 4.188 kB / 1.358 GB, free: 2.332 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.9233, allocations: 8 kB / 1.358 GB, free: 2.324 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.9233, allocations: 8 kB / 1.358 GB, free: 2.316 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.9233, allocations: 87.27 kB / 1.358 GB, free: 2.23 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9233, allocations: 0 / 1.358 GB, free: 2.23 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003376/0.9237, allocations: 83.92 kB / 1.359 GB, free: 2.148 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0003379/0.924, allocations: 183.1 kB / 1.359 GB, free: 1.961 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.9242, allocations: 87.83 kB / 1.359 GB, free: 1.875 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9242, allocations: 4.25 kB / 1.359 GB, free: 1.871 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.9243, allocations: 35.98 kB / 1.359 GB, free: 1.836 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.9245, allocations: 22.36 kB / 1.359 GB, free: 1.816 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.9249, allocations: 172.8 kB / 1.359 GB, free: 1.625 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.9251, allocations: 0.6885 MB / 1.36 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.9252, allocations: 60.83 kB / 1.36 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.9253, allocations: 11.44 kB / 1.36 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of SimCode: time 2.31e-07/0.9253, allocations: 0 / 1.36 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of Templates: time 0.004563/0.9298, allocations: 1.927 MB / 1.362 GB, free: 14.96 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches