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.001594/0.001594, allocations: 103.2 kB / 16.27 MB, free: 5.965 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.001584/0.001584, allocations: 191 kB / 17.2 MB, free: 5.59 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.465/1.465, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.653/2.653, allocations: 437.1 MB / 0.711 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 69.22 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3579, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003058/0.361, allocations: 1.335 MB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.8204/1.181, allocations: 147.9 MB / 1.164 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/1.182, allocations: 0 / 1.164 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 5.052e-05/1.182, allocations: 0 / 1.164 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.000226/1.182, allocations: 43.47 kB / 1.164 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/1.184, allocations: 359.5 kB / 1.164 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000207/1.184, allocations: 68.92 kB / 1.164 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 6.147e-05/1.184, allocations: 2.594 kB / 1.164 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 9.256e-05/1.184, allocations: 35.89 kB / 1.164 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/1.184, allocations: 52.81 kB / 1.164 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/1.184, allocations: 1.156 kB / 1.164 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/1.185, allocations: 408.4 kB / 1.165 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.022e-05/1.185, allocations: 29.28 kB / 1.165 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/1.186, allocations: 23.56 kB / 1.165 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007688/1.186, allocations: 278.8 kB / 1.165 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.186, allocations: 1.219 kB / 1.165 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.764e-06/1.186, allocations: 0 / 1.165 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.186, allocations: 0 / 1.165 GB, free: 4.715 MB / 0.8731 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.0007337/1.187, allocations: 399.9 kB / 1.165 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.187, allocations: 14.62 kB / 1.165 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/1.187, allocations: 10.41 kB / 1.165 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/1.187, allocations: 161.7 kB / 1.166 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/1.187, allocations: 5 kB / 1.166 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/1.187, allocations: 10.78 kB / 1.166 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/1.188, allocations: 95.8 kB / 1.166 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.188, allocations: 1.188 kB / 1.166 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/1.188, allocations: 0 / 1.166 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-05/1.188, allocations: 15.91 kB / 1.166 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/1.188, allocations: 80.14 kB / 1.166 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/1.189, allocations: 331.6 kB / 1.166 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/1.189, allocations: 105.2 kB / 1.166 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/1.189, allocations: 55.02 kB / 1.166 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/1.19, allocations: 469.8 kB / 1.167 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/1.19, allocations: 35.81 kB / 1.167 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/1.19, allocations: 4 kB / 1.167 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0003205/1.191, allocations: 122.4 kB / 1.167 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/1.191, allocations: 61 kB / 1.167 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/1.191, allocations: 119.3 kB / 1.167 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/1.191, allocations: 25.7 kB / 1.167 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/1.191, allocations: 92.53 kB / 1.167 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/1.191, allocations: 44.31 kB / 1.167 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/1.191, allocations: 30.91 kB / 1.167 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.191, allocations: 319.1 kB / 1.167 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/1.191, allocations: 34.39 kB / 1.167 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/1.191, allocations: 74.75 kB / 1.168 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/1.192, allocations: 109.2 kB / 1.168 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.192, allocations: 1.125 kB / 1.168 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002474/1.192, allocations: 138.2 kB / 1.168 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.192, allocations: 4.906 kB / 1.168 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.192, allocations: 5.062 kB / 1.168 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.192, allocations: 6.75 kB / 1.168 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/1.192, allocations: 26.81 kB / 1.168 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.192, allocations: 9.469 kB / 1.168 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/1.192, allocations: 16.38 kB / 1.168 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/1.192, allocations: 7.484 kB / 1.168 GB, free: 2.191 MB / 0.8731 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.0001233/1.192, allocations: 124.6 kB / 1.168 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/1.192, allocations: 4.281 kB / 1.168 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/1.193, allocations: 133.1 kB / 1.168 GB, free: 2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.193, allocations: 1.156 kB / 1.168 GB, free: 2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.193, allocations: 4.938 kB / 1.168 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.193, allocations: 0 / 1.168 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/1.193, allocations: 179.5 kB / 1.168 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.193, allocations: 3.875 kB / 1.168 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.089e-05/1.193, allocations: 22.38 kB / 1.168 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.193, allocations: 1.219 kB / 1.168 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/1.193, allocations: 1.5 kB / 1.168 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.193, allocations: 0 / 1.168 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.193, allocations: 9.406 kB / 1.168 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/1.193, allocations: 199.1 kB / 1.169 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/1.193, allocations: 91.17 kB / 1.169 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/1.193, allocations: 5.156 kB / 1.169 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.379e-05/1.193, allocations: 1.344 kB / 1.169 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/1.193, allocations: 10.19 kB / 1.169 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/1.193, allocations: 5.25 kB / 1.169 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.764e-05/1.194, allocations: 96.55 kB / 1.169 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.194, allocations: 0 / 1.169 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004635/1.194, allocations: 75.28 kB / 1.169 GB, free: 1.418 MB / 0.8731 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.0005119/1.195, allocations: 181.1 kB / 1.169 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002309/1.195, allocations: 97.02 kB / 1.169 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.195, allocations: 1.375 kB / 1.169 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.589e-05/1.195, allocations: 41.16 kB / 1.169 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/1.195, allocations: 13.06 kB / 1.169 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/1.196, allocations: 211.2 kB / 1.169 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/1.196, allocations: 0.693 MB / 1.17 GB, free: 412 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/1.196, allocations: 14.28 kB / 1.17 GB, free: 404 kB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/1.196, allocations: 0 / 1.17 GB, free: 404 kB / 0.8731 GB Notification: Performance of Templates: time 0.005348/1.202, allocations: 1.85 MB / 1.172 GB, free: 204 kB / 0.8731 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