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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.321/2.321, allocations: 390.3 MB / 402.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 184.8 kB / 496.1 MB, free: 12.82 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 221.3 MB / 0.7915 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009128/0.0009129, allocations: 99.12 kB / 0.9317 GB, free: 5.66 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.924e-05/3.926e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3645, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.985/5.35, allocations: 1.714 GB / 2.932 GB, free: 101.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/5.35, allocations: 91.94 kB / 2.933 GB, free: 101.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.05342/5.403, allocations: 28.2 MB / 2.96 GB, free: 72.59 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.182e-06/5.403, allocations: 0 / 2.96 GB, free: 72.59 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.53e-06/5.403, allocations: 0 / 2.96 GB, free: 72.59 MB / 1.167 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.0003865/5.404, allocations: 386.9 kB / 2.96 GB, free: 72.17 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/5.404, allocations: 8.031 kB / 2.96 GB, free: 72.16 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/5.404, allocations: 7.906 kB / 2.96 GB, free: 72.16 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/5.404, allocations: 159.1 kB / 2.961 GB, free: 71.96 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/5.404, allocations: 4 kB / 2.961 GB, free: 71.96 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/5.404, allocations: 3.984 kB / 2.961 GB, free: 71.95 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/5.404, allocations: 102.2 kB / 2.961 GB, free: 71.85 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/5.404, allocations: 0 / 2.961 GB, free: 71.85 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/5.404, allocations: 7.953 kB / 2.961 GB, free: 71.84 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/5.404, allocations: 15.88 kB / 2.961 GB, free: 71.82 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/5.404, allocations: 79.91 kB / 2.961 GB, free: 71.75 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/5.405, allocations: 336.7 kB / 2.961 GB, free: 71.37 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/5.405, allocations: 94.7 kB / 2.961 GB, free: 71.27 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.514e-05/5.405, allocations: 56.78 kB / 2.961 GB, free: 71.21 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005686/5.406, allocations: 465.4 kB / 2.962 GB, free: 70.66 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/5.406, allocations: 30.56 kB / 2.962 GB, free: 70.62 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/5.406, allocations: 0 / 2.962 GB, free: 70.62 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0002051/5.406, allocations: 97.58 kB / 2.962 GB, free: 70.52 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/5.406, allocations: 55.62 kB / 2.962 GB, free: 70.45 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/5.406, allocations: 112.9 kB / 2.962 GB, free: 70.34 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/5.406, allocations: 33.64 kB / 2.962 GB, free: 70.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/5.406, allocations: 92.27 kB / 2.962 GB, free: 70.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/5.406, allocations: 39.45 kB / 2.962 GB, free: 70.16 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/5.406, allocations: 4 kB / 2.962 GB, free: 70.16 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.578e-05/5.406, allocations: 322.8 kB / 2.962 GB, free: 69.83 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/5.406, allocations: 31.94 kB / 2.963 GB, free: 69.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.487e-05/5.406, allocations: 69.78 kB / 2.963 GB, free: 69.71 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.507e-05/5.406, allocations: 39.97 kB / 2.963 GB, free: 69.68 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/5.406, allocations: 4 kB / 2.963 GB, free: 69.67 MB / 1.167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001486/5.406, allocations: 142 kB / 2.963 GB, free: 69.53 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/5.406, allocations: 5.406 kB / 2.963 GB, free: 69.52 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/5.406, allocations: 3.938 kB / 2.963 GB, free: 69.52 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/5.406, allocations: 4 kB / 2.963 GB, free: 69.52 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/5.407, allocations: 27.92 kB / 2.963 GB, free: 69.49 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/5.407, allocations: 7.984 kB / 2.963 GB, free: 69.48 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/5.407, allocations: 11.91 kB / 2.963 GB, free: 69.47 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/5.407, allocations: 8.156 kB / 2.963 GB, free: 69.46 MB / 1.167 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/5.407, allocations: 112.9 kB / 2.963 GB, free: 69.34 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/5.407, allocations: 3.953 kB / 2.963 GB, free: 69.34 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/5.407, allocations: 125.5 kB / 2.963 GB, free: 69.21 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/5.407, allocations: 0 / 2.963 GB, free: 69.21 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/5.407, allocations: 0 / 2.963 GB, free: 69.21 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/5.407, allocations: 7.984 kB / 2.963 GB, free: 69.21 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/5.407, allocations: 177.9 kB / 2.963 GB, free: 68.98 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/5.407, allocations: 4 kB / 2.963 GB, free: 68.98 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/5.407, allocations: 19.98 kB / 2.963 GB, free: 68.96 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/5.407, allocations: 3.953 kB / 2.963 GB, free: 68.96 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/5.407, allocations: 4 kB / 2.963 GB, free: 68.95 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/5.407, allocations: 3.938 kB / 2.963 GB, free: 68.95 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/5.407, allocations: 3.938 kB / 2.963 GB, free: 68.95 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/5.407, allocations: 199.7 kB / 2.963 GB, free: 68.73 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/5.407, allocations: 100.9 kB / 2.964 GB, free: 68.62 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/5.407, allocations: 3.953 kB / 2.964 GB, free: 68.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.911e-05/5.407, allocations: 0 / 2.964 GB, free: 68.61 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/5.407, allocations: 8 kB / 2.964 GB, free: 68.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/5.407, allocations: 7.984 kB / 2.964 GB, free: 68.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.84e-05/5.408, allocations: 83.28 kB / 2.964 GB, free: 68.52 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.408, allocations: 0 / 2.964 GB, free: 68.52 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004591/5.408, allocations: 115.9 kB / 2.964 GB, free: 68.4 MB / 1.167 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007682/5.409, allocations: 0.6321 MB / 2.964 GB, free: 67.77 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000146/5.409, allocations: 87.84 kB / 2.964 GB, free: 67.68 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/5.409, allocations: 0 / 2.964 GB, free: 67.68 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/5.409, allocations: 31.94 kB / 2.964 GB, free: 67.65 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/5.409, allocations: 18.7 kB / 2.965 GB, free: 67.63 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/5.409, allocations: 114.8 kB / 2.965 GB, free: 67.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/5.41, allocations: 0.6965 MB / 2.965 GB, free: 66.78 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001242/5.41, allocations: 52.98 kB / 2.965 GB, free: 66.73 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/5.41, allocations: 19.38 kB / 2.965 GB, free: 66.71 MB / 1.167 GB Notification: Performance of SimCode: time 2.31e-07/5.41, allocations: 0 / 2.965 GB, free: 66.71 MB / 1.167 GB Notification: Performance of Templates: time 0.0121/5.422, allocations: 10.5 MB / 2.976 GB, free: 56.24 MB / 1.167 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 -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","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches