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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001512/0.001512, allocations: 101.9 kB / 16.35 MB, free: 5.824 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.001731/0.001731, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.337/1.337, 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 11.0.0-master/package.mo): time 2.482/2.482, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 66.88 kB / 0.8774 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.296, allocations: 153 MB / 1.027 GB, free: 1.984 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002688/0.2987, allocations: 1.344 MB / 1.028 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6619/0.9607, allocations: 147.9 MB / 1.172 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.9608, allocations: 3.938 kB / 1.172 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.9609, allocations: 7.938 kB / 1.172 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.961, allocations: 40.3 kB / 1.172 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.9621, allocations: 359.2 kB / 1.173 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.9623, allocations: 62.58 kB / 1.173 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.9623, allocations: 10 kB / 1.173 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.387e-05/0.9624, allocations: 26.53 kB / 1.173 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.9625, allocations: 56.47 kB / 1.173 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.9625, allocations: 1.312 kB / 1.173 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007305/0.9633, allocations: 407.5 kB / 1.173 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.9633, allocations: 28.72 kB / 1.173 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.9634, allocations: 27.55 kB / 1.173 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.9638, allocations: 277.9 kB / 1.174 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.9639, allocations: 0 / 1.174 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9639, allocations: 0 / 1.174 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.9639, allocations: 4 kB / 1.174 GB, free: 10.92 MB / 0.8887 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.0004989/0.9644, allocations: 396.4 kB / 1.174 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.9645, allocations: 10.19 kB / 1.174 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.9645, allocations: 7.062 kB / 1.174 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.9646, allocations: 167.9 kB / 1.174 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.9647, allocations: 9.938 kB / 1.174 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.9647, allocations: 2.281 kB / 1.174 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.9649, allocations: 86.97 kB / 1.174 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.9649, allocations: 5.25 kB / 1.174 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.9649, allocations: 0 / 1.174 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/0.965, allocations: 19.81 kB / 1.174 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.9651, allocations: 80.36 kB / 1.174 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.9656, allocations: 342.1 kB / 1.175 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.9658, allocations: 98.48 kB / 1.175 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.043e-05/0.9659, allocations: 51.67 kB / 1.175 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008059/0.9667, allocations: 471 kB / 1.175 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.9667, allocations: 33.88 kB / 1.175 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.9667, allocations: 0 / 1.175 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0002613/0.967, allocations: 125.2 kB / 1.176 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.9671, allocations: 64.17 kB / 1.176 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.9671, allocations: 119.1 kB / 1.176 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.9672, allocations: 29.7 kB / 1.176 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.9672, allocations: 91 kB / 1.176 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.9673, allocations: 44.75 kB / 1.176 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.9673, allocations: 32.12 kB / 1.176 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.9674, allocations: 319.3 kB / 1.176 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/0.9675, allocations: 28.59 kB / 1.176 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.9676, allocations: 72.58 kB / 1.176 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.9677, allocations: 121.5 kB / 1.176 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9677, allocations: 1.094 kB / 1.176 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001984/0.9679, allocations: 140.5 kB / 1.177 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.9679, allocations: 4.969 kB / 1.177 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9679, allocations: 1.656 kB / 1.177 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.968, allocations: 2.344 kB / 1.177 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.9681, allocations: 27.11 kB / 1.177 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.9681, allocations: 10.66 kB / 1.177 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.9681, allocations: 18.56 kB / 1.177 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.9681, allocations: 5.719 kB / 1.177 GB, free: 8.402 MB / 0.8887 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.942e-05/0.9682, allocations: 124.3 kB / 1.177 GB, free: 8.281 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.9683, allocations: 6.5 kB / 1.177 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.9685, allocations: 127.2 kB / 1.177 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.9685, allocations: 2.875 kB / 1.177 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.9685, allocations: 4.688 kB / 1.177 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.9685, allocations: 5.125 kB / 1.177 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.9687, allocations: 175.2 kB / 1.177 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.9687, allocations: 3.938 kB / 1.177 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.9688, allocations: 17.44 kB / 1.177 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.9688, allocations: 5.078 kB / 1.177 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.9688, allocations: 7.266 kB / 1.177 GB, free: 8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.9688, allocations: 1.031 kB / 1.177 GB, free: 8 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9688, allocations: 3.938 kB / 1.177 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.969, allocations: 200.5 kB / 1.177 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.9691, allocations: 98.56 kB / 1.177 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.9691, allocations: 5 kB / 1.177 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.9691, allocations: 5.188 kB / 1.177 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.9692, allocations: 8.906 kB / 1.177 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.9692, allocations: 2.469 kB / 1.177 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.184e-05/0.9692, allocations: 89.7 kB / 1.177 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9692, allocations: 0 / 1.177 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003887/0.9696, allocations: 78.03 kB / 1.178 GB, free: 7.629 MB / 0.8887 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.0003295/0.97, allocations: 188.9 kB / 1.178 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.9702, allocations: 80.92 kB / 1.178 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.9702, allocations: 3.938 kB / 1.178 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.9702, allocations: 33.64 kB / 1.178 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.9705, allocations: 18.92 kB / 1.178 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.9709, allocations: 185.7 kB / 1.178 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.9711, allocations: 0.6887 MB / 1.179 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.9712, allocations: 54.42 kB / 1.179 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.9713, allocations: 14.56 kB / 1.179 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of SimCode: time 2.4e-07/0.9713, allocations: 0 / 1.179 GB, free: 6.629 MB / 0.8887 GB Notification: Performance of Templates: time 0.004685/0.976, allocations: 1.903 MB / 1.181 GB, free: 5.891 MB / 0.8887 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 -s cvode -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/jenkins1/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