Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_10_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_10_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.006888/0.006888, allocations: 98.16 kB / 15.73 MB, free: 6.496 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.00158/0.00158, allocations: 194.4 kB / 16.67 MB, free: 6.391 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.669/2.669, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3127, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002257/0.315, allocations: 1.331 MB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.735/1.05, allocations: 147.9 MB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/1.05, allocations: 0 / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/1.05, allocations: 1.922 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001818/1.05, allocations: 47.25 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/1.051, allocations: 357.8 kB / 1.313 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000121/1.052, allocations: 66.61 kB / 1.313 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/1.052, allocations: 6.25 kB / 1.313 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/1.052, allocations: 30.98 kB / 1.313 GB, free: 12.81 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/1.052, allocations: 56.27 kB / 1.313 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/1.052, allocations: 2.344 kB / 1.313 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007378/1.053, allocations: 408.6 kB / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/1.053, allocations: 23.61 kB / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/1.053, allocations: 37.73 kB / 1.313 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004808/1.053, allocations: 273.7 kB / 1.314 GB, free: 12.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/1.053, allocations: 1.219 kB / 1.314 GB, free: 12.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/1.053, allocations: 0 / 1.314 GB, free: 12.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.739e-06/1.053, allocations: 0 / 1.314 GB, free: 12.73 MB / 1.014 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.0004256/1.054, allocations: 399.3 kB / 1.314 GB, free: 12.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/1.054, allocations: 12.61 kB / 1.314 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/1.054, allocations: 3.938 kB / 1.314 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/1.054, allocations: 168.1 kB / 1.314 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/1.054, allocations: 18.16 kB / 1.314 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/1.054, allocations: 2.5 kB / 1.314 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/1.054, allocations: 97.38 kB / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.054, allocations: 0 / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/1.054, allocations: 0.7969 kB / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/1.054, allocations: 11.61 kB / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/1.054, allocations: 77.2 kB / 1.314 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/1.055, allocations: 344.5 kB / 1.315 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/1.055, allocations: 106 kB / 1.315 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.521e-05/1.055, allocations: 55.41 kB / 1.315 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008542/1.056, allocations: 468.6 kB / 1.315 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/1.056, allocations: 38.62 kB / 1.315 GB, free: 11.26 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/1.056, allocations: 0 / 1.315 GB, free: 11.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0002585/1.056, allocations: 121.9 kB / 1.315 GB, free: 11.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/1.056, allocations: 56.34 kB / 1.315 GB, free: 11.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/1.056, allocations: 117.2 kB / 1.316 GB, free: 11.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/1.056, allocations: 26.77 kB / 1.316 GB, free: 11.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/1.056, allocations: 99.34 kB / 1.316 GB, free: 10.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/1.057, allocations: 36.86 kB / 1.316 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/1.057, allocations: 34.22 kB / 1.316 GB, free: 10.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.057, allocations: 322.6 kB / 1.316 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.49e-05/1.057, allocations: 31.33 kB / 1.316 GB, free: 10.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/1.057, allocations: 74.83 kB / 1.316 GB, free: 10.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/1.057, allocations: 113.4 kB / 1.316 GB, free: 10.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.057, allocations: 2.047 kB / 1.316 GB, free: 10.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002014/1.057, allocations: 137.3 kB / 1.316 GB, free: 10.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.057, allocations: 7.031 kB / 1.316 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.057, allocations: 1.219 kB / 1.316 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.057, allocations: 10.56 kB / 1.316 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/1.057, allocations: 28.16 kB / 1.316 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.057, allocations: 7.016 kB / 1.316 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/1.057, allocations: 11.77 kB / 1.317 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/1.057, allocations: 4.969 kB / 1.317 GB, free: 10.4 MB / 1.014 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 9.979e-05/1.058, allocations: 128.3 kB / 1.317 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/1.058, allocations: 8.484 kB / 1.317 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/1.058, allocations: 128 kB / 1.317 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.058, allocations: 0.7812 kB / 1.317 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.058, allocations: 4.656 kB / 1.317 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.058, allocations: 1.453 kB / 1.317 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/1.058, allocations: 180.5 kB / 1.317 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.058, allocations: 0.5625 kB / 1.317 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/1.058, allocations: 20.81 kB / 1.317 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.058, allocations: 1.609 kB / 1.317 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/1.058, allocations: 1.125 kB / 1.317 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/1.058, allocations: 0.5625 kB / 1.317 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.058, allocations: 9 kB / 1.317 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/1.058, allocations: 201.6 kB / 1.317 GB, free: 9.887 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/1.058, allocations: 97.67 kB / 1.317 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/1.058, allocations: 1.625 kB / 1.317 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.757e-05/1.059, allocations: 4.969 kB / 1.317 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/1.059, allocations: 9.906 kB / 1.317 GB, free: 9.781 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/1.059, allocations: 2.797 kB / 1.317 GB, free: 9.781 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.325e-05/1.059, allocations: 92.44 kB / 1.317 GB, free: 9.703 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.059, allocations: 0 / 1.317 GB, free: 9.703 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003676/1.059, allocations: 82.27 kB / 1.317 GB, free: 9.684 MB / 1.014 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.000332/1.059, allocations: 183.5 kB / 1.318 GB, free: 9.578 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001785/1.06, allocations: 91.77 kB / 1.318 GB, free: 9.566 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.06, allocations: 0 / 1.318 GB, free: 9.566 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/1.06, allocations: 37.78 kB / 1.318 GB, free: 9.562 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/1.06, allocations: 18.81 kB / 1.318 GB, free: 9.562 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/1.06, allocations: 170.7 kB / 1.318 GB, free: 9.445 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/1.06, allocations: 0.6896 MB / 1.319 GB, free: 8.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001252/1.061, allocations: 54.84 kB / 1.319 GB, free: 8.742 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/1.061, allocations: 14.23 kB / 1.319 GB, free: 8.734 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/1.061, allocations: 4 kB / 1.319 GB, free: 8.73 MB / 1.014 GB Notification: Performance of Templates: time 0.004976/1.066, allocations: 1.922 MB / 1.321 GB, free: 8.57 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches