Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008915/0.008915, allocations: 96.73 kB / 15.73 MB, free: 6.039 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.002061/0.002061, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.733/2.733, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 71.89 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2908, allocations: 159.1 MB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002651/0.2935, allocations: 1.341 MB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8299/1.123, allocations: 148.3 MB / 1.367 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/1.123, allocations: 0 / 1.367 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/1.123, allocations: 2.203 kB / 1.367 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001808/1.124, allocations: 45.94 kB / 1.367 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/1.125, allocations: 363.9 kB / 1.367 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/1.125, allocations: 66.86 kB / 1.367 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/1.125, allocations: 4.125 kB / 1.367 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.189e-05/1.125, allocations: 35.55 kB / 1.367 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/1.125, allocations: 55.25 kB / 1.367 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/1.125, allocations: 2.75 kB / 1.367 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007253/1.126, allocations: 411.3 kB / 1.368 GB, free: 15.39 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/1.126, allocations: 31.73 kB / 1.368 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/1.126, allocations: 20.66 kB / 1.368 GB, free: 15.37 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004228/1.126, allocations: 274.8 kB / 1.368 GB, free: 15.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.126, allocations: 1.062 kB / 1.368 GB, free: 15.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.283e-06/1.126, allocations: 0 / 1.368 GB, free: 15.3 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.29e-06/1.126, allocations: 0 / 1.368 GB, free: 15.3 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.0004054/1.127, allocations: 409.8 kB / 1.368 GB, free: 14.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/1.127, allocations: 9.438 kB / 1.368 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/1.127, allocations: 3.531 kB / 1.368 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.352e-05/1.127, allocations: 167.6 kB / 1.369 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/1.127, allocations: 3.938 kB / 1.369 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/1.127, allocations: 7.562 kB / 1.369 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/1.127, allocations: 97.31 kB / 1.369 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/1.127, allocations: 0 / 1.369 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/1.127, allocations: 1.344 kB / 1.369 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/1.127, allocations: 14.45 kB / 1.369 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/1.127, allocations: 80.52 kB / 1.369 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/1.128, allocations: 339.9 kB / 1.369 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/1.128, allocations: 97.97 kB / 1.369 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/1.128, allocations: 46.22 kB / 1.369 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008365/1.129, allocations: 479 kB / 1.37 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/1.129, allocations: 35.69 kB / 1.37 GB, free: 13.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/1.129, allocations: 1.062 kB / 1.37 GB, free: 13.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.000251/1.129, allocations: 114.7 kB / 1.37 GB, free: 13.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/1.129, allocations: 60.72 kB / 1.37 GB, free: 13.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/1.129, allocations: 122.2 kB / 1.37 GB, free: 13.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/1.129, allocations: 29.7 kB / 1.37 GB, free: 13.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/1.129, allocations: 95.67 kB / 1.37 GB, free: 13.37 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/1.129, allocations: 38.94 kB / 1.37 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/1.129, allocations: 31.8 kB / 1.37 GB, free: 13.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.537e-05/1.129, allocations: 318.6 kB / 1.371 GB, free: 13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.161e-05/1.129, allocations: 29.06 kB / 1.371 GB, free: 13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-05/1.13, allocations: 77.28 kB / 1.371 GB, free: 12.94 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/1.13, allocations: 112.7 kB / 1.371 GB, free: 12.87 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.13, allocations: 4 kB / 1.371 GB, free: 12.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00021/1.13, allocations: 138.4 kB / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.13, allocations: 5.094 kB / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.13, allocations: 1.406 kB / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/1.13, allocations: 2.312 kB / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/1.13, allocations: 31.53 kB / 1.371 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.13, allocations: 10.75 kB / 1.371 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/1.13, allocations: 16.02 kB / 1.371 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/1.13, allocations: 6.547 kB / 1.371 GB, free: 12.78 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 7.684e-05/1.13, allocations: 131.4 kB / 1.371 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/1.13, allocations: 6.672 kB / 1.371 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/1.13, allocations: 124.4 kB / 1.371 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.13, allocations: 2.562 kB / 1.371 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.13, allocations: 3.938 kB / 1.371 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.13, allocations: 0 / 1.371 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/1.131, allocations: 184.7 kB / 1.371 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.131, allocations: 0 / 1.371 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.529e-05/1.131, allocations: 21.11 kB / 1.371 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/1.131, allocations: 1.312 kB / 1.371 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/1.131, allocations: 0 / 1.371 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.131, allocations: 2.562 kB / 1.371 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.131, allocations: 3.938 kB / 1.371 GB, free: 12.37 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/1.131, allocations: 197.4 kB / 1.372 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/1.131, allocations: 103.8 kB / 1.372 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/1.131, allocations: 1 kB / 1.372 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.626e-05/1.131, allocations: 5.25 kB / 1.372 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/1.131, allocations: 9.203 kB / 1.372 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/1.131, allocations: 3 kB / 1.372 GB, free: 12.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.269e-05/1.131, allocations: 92.55 kB / 1.372 GB, free: 12.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.131, allocations: 0 / 1.372 GB, free: 12.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003678/1.131, allocations: 84.22 kB / 1.372 GB, free: 11.99 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.0003194/1.132, allocations: 187.9 kB / 1.372 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001654/1.132, allocations: 79.89 kB / 1.372 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.132, allocations: 0 / 1.372 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.808e-05/1.132, allocations: 36.12 kB / 1.372 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/1.132, allocations: 21.25 kB / 1.372 GB, free: 11.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/1.133, allocations: 182.7 kB / 1.372 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/1.133, allocations: 0.6884 MB / 1.373 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001079/1.133, allocations: 54.53 kB / 1.373 GB, free: 11.01 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/1.133, allocations: 15.77 kB / 1.373 GB, free: 11 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/1.133, allocations: 0 / 1.373 GB, free: 11 MB / 1.076 GB Notification: Performance of Templates: time 0.004551/1.137, allocations: 1.925 MB / 1.375 GB, free: 10.82 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches