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.001326/0.001326, allocations: 111.1 kB / 16.41 MB, free: 6.52 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.001455/0.001455, allocations: 185.5 kB / 17.34 MB, free: 5.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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.452/2.452, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 64.11 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 151.7 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002822/1.067, allocations: 1.325 MB / 1.169 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1832/1.25, allocations: 147.9 MB / 1.313 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/1.25, allocations: 0 / 1.313 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.847e-05/1.25, allocations: 3.938 kB / 1.313 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002239/1.25, allocations: 47.86 kB / 1.313 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/1.252, allocations: 358.6 kB / 1.313 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/1.252, allocations: 67.81 kB / 1.314 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/1.252, allocations: 0 / 1.314 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/1.252, allocations: 35.84 kB / 1.314 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/1.252, allocations: 51.94 kB / 1.314 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/1.252, allocations: 4 kB / 1.314 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009588/1.253, allocations: 411.1 kB / 1.314 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/1.253, allocations: 31.89 kB / 1.314 GB, free: 13.03 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/1.253, allocations: 23.88 kB / 1.314 GB, free: 13 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006527/1.254, allocations: 276.5 kB / 1.314 GB, free: 12.74 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.254, allocations: 4 kB / 1.314 GB, free: 12.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.973e-06/1.254, allocations: 0 / 1.314 GB, free: 12.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.717e-06/1.254, allocations: 0 / 1.314 GB, free: 12.73 MB / 1.045 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.0005619/1.254, allocations: 398.8 kB / 1.315 GB, free: 12.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/1.255, allocations: 16.86 kB / 1.315 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/1.255, allocations: 4.938 kB / 1.315 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/1.255, allocations: 168.3 kB / 1.315 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/1.255, allocations: 3.938 kB / 1.315 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/1.255, allocations: 4 kB / 1.315 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/1.255, allocations: 105.6 kB / 1.315 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.255, allocations: 0 / 1.315 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/1.255, allocations: 0 / 1.315 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/1.255, allocations: 11.98 kB / 1.315 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/1.255, allocations: 79.95 kB / 1.315 GB, free: 11.87 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/1.256, allocations: 344.5 kB / 1.315 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/1.256, allocations: 98.53 kB / 1.315 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.936e-05/1.256, allocations: 56.91 kB / 1.316 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009328/1.257, allocations: 473.4 kB / 1.316 GB, free: 10.76 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/1.257, allocations: 34.56 kB / 1.316 GB, free: 10.72 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/1.257, allocations: 0 / 1.316 GB, free: 10.72 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0003067/1.257, allocations: 125.6 kB / 1.316 GB, free: 10.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/1.258, allocations: 63.33 kB / 1.316 GB, free: 10.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/1.258, allocations: 113.8 kB / 1.316 GB, free: 10.39 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/1.258, allocations: 25.7 kB / 1.316 GB, free: 10.36 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/1.258, allocations: 100.4 kB / 1.316 GB, free: 10.26 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/1.258, allocations: 35.69 kB / 1.316 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/1.258, allocations: 33.7 kB / 1.317 GB, free: 10.19 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.258, allocations: 318.8 kB / 1.317 GB, free: 9.867 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/1.258, allocations: 31.98 kB / 1.317 GB, free: 9.836 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.363e-05/1.258, allocations: 73.06 kB / 1.317 GB, free: 9.746 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/1.258, allocations: 121 kB / 1.317 GB, free: 9.609 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.258, allocations: 4 kB / 1.317 GB, free: 9.605 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002103/1.259, allocations: 133.9 kB / 1.317 GB, free: 9.469 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.259, allocations: 8 kB / 1.317 GB, free: 9.461 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.259, allocations: 0 / 1.317 GB, free: 9.461 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/1.259, allocations: 4 kB / 1.317 GB, free: 9.457 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/1.259, allocations: 27.98 kB / 1.317 GB, free: 9.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/1.259, allocations: 12.09 kB / 1.317 GB, free: 9.418 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/1.259, allocations: 11.89 kB / 1.317 GB, free: 9.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/1.259, allocations: 4 kB / 1.317 GB, free: 9.402 MB / 1.045 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 0.0001276/1.259, allocations: 129.8 kB / 1.317 GB, free: 9.266 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/1.259, allocations: 7.953 kB / 1.317 GB, free: 9.258 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/1.259, allocations: 122 kB / 1.317 GB, free: 9.125 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.259, allocations: 7.984 kB / 1.317 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.259, allocations: 3.938 kB / 1.317 GB, free: 9.113 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/1.259, allocations: 93.05 kB / 1.318 GB, free: 9.004 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/1.259, allocations: 4 kB / 1.318 GB, free: 9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/1.259, allocations: 3.938 kB / 1.318 GB, free: 8.996 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/1.259, allocations: 8 kB / 1.318 GB, free: 8.988 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001956/1.26, allocations: 180.9 kB / 1.318 GB, free: 8.805 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002304/1.26, allocations: 282.8 kB / 1.318 GB, free: 8.512 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.095e-05/1.26, allocations: 35.97 kB / 1.318 GB, free: 8.477 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.625e-05/1.26, allocations: 87.27 kB / 1.318 GB, free: 8.391 MB / 1.045 GB Notification: Performance of Backend: time 3.21e-07/1.26, allocations: 0 / 1.318 GB, free: 8.391 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008426/1.261, allocations: 254.2 kB / 1.318 GB, free: 8.137 MB / 1.045 GB Notification: Performance of SimCode: time 0.0005765/1.261, allocations: 0.6067 MB / 1.319 GB, free: 7.484 MB / 1.045 GB Notification: Performance of Templates: time 0.006067/1.268, allocations: 2.368 MB / 1.321 GB, free: 5.164 MB / 1.045 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/jenkins1/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