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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001148/0.001149, allocations: 106.9 kB / 16.41 MB, free: 6.473 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.001198/0.001199, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.7 MB / 0.746 GB, free: 388 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.84 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8774/0.8788, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002645/0.8815, allocations: 1.331 MB / 1.228 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1538/1.035, allocations: 147.9 MB / 1.372 GB, free: 7.691 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/1.035, allocations: 0 / 1.372 GB, free: 7.691 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 4.182e-05/1.036, allocations: 7.922 kB / 1.372 GB, free: 7.684 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0001718/1.036, allocations: 43.88 kB / 1.372 GB, free: 7.641 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/1.037, allocations: 358.6 kB / 1.372 GB, free: 7.289 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/1.037, allocations: 63.81 kB / 1.373 GB, free: 7.227 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/1.037, allocations: 4 kB / 1.373 GB, free: 7.223 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/1.037, allocations: 39.84 kB / 1.373 GB, free: 7.184 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/1.037, allocations: 55.88 kB / 1.373 GB, free: 7.129 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/1.037, allocations: 0 / 1.373 GB, free: 7.129 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000732/1.038, allocations: 415.1 kB / 1.373 GB, free: 6.723 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/1.038, allocations: 19.97 kB / 1.373 GB, free: 6.703 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/1.038, allocations: 31.86 kB / 1.373 GB, free: 6.672 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0004544/1.039, allocations: 279.8 kB / 1.373 GB, free: 6.402 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.039, allocations: 0 / 1.373 GB, free: 6.402 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.693e-06/1.039, allocations: 4 kB / 1.373 GB, free: 6.398 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.779e-06/1.039, allocations: 0 / 1.373 GB, free: 6.398 MB / 1.092 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.0003832/1.039, allocations: 394.8 kB / 1.374 GB, free: 5.965 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.039, allocations: 12.03 kB / 1.374 GB, free: 5.953 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/1.039, allocations: 4.938 kB / 1.374 GB, free: 5.949 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/1.039, allocations: 180.2 kB / 1.374 GB, free: 5.734 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/1.039, allocations: 11.88 kB / 1.374 GB, free: 5.723 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/1.039, allocations: 4 kB / 1.374 GB, free: 5.719 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/1.039, allocations: 92.17 kB / 1.374 GB, free: 5.625 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.039, allocations: 0 / 1.374 GB, free: 5.625 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/1.039, allocations: 4 kB / 1.374 GB, free: 5.621 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/1.039, allocations: 16 kB / 1.374 GB, free: 5.605 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/1.04, allocations: 75.95 kB / 1.374 GB, free: 5.531 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/1.04, allocations: 344.6 kB / 1.374 GB, free: 5.145 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/1.04, allocations: 94.55 kB / 1.375 GB, free: 5.043 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.637e-05/1.04, allocations: 52.89 kB / 1.375 GB, free: 4.988 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00083/1.041, allocations: 473.4 kB / 1.375 GB, free: 4.434 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/1.041, allocations: 30.56 kB / 1.375 GB, free: 4.395 MB / 1.092 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/1.041, allocations: 3.938 kB / 1.375 GB, free: 4.391 MB / 1.092 GB Notification: Performance of matching and sorting (n=11): time 0.0002535/1.041, allocations: 125.6 kB / 1.375 GB, free: 4.262 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/1.041, allocations: 59.34 kB / 1.375 GB, free: 4.191 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/1.042, allocations: 117.8 kB / 1.375 GB, free: 4.066 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/1.042, allocations: 25.7 kB / 1.375 GB, free: 4.035 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/1.042, allocations: 104.3 kB / 1.375 GB, free: 3.93 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/1.042, allocations: 35.69 kB / 1.376 GB, free: 3.895 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/1.042, allocations: 33.67 kB / 1.376 GB, free: 3.855 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/1.042, allocations: 318.8 kB / 1.376 GB, free: 3.535 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/1.042, allocations: 27.98 kB / 1.376 GB, free: 3.508 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/1.042, allocations: 81.06 kB / 1.376 GB, free: 3.41 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/1.042, allocations: 121.4 kB / 1.376 GB, free: 3.273 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.042, allocations: 4 kB / 1.376 GB, free: 3.27 MB / 1.092 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001846/1.042, allocations: 137.5 kB / 1.376 GB, free: 3.129 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.042, allocations: 8 kB / 1.376 GB, free: 3.121 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.042, allocations: 0 / 1.376 GB, free: 3.121 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/1.042, allocations: 0 / 1.376 GB, free: 3.121 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.992e-05/1.042, allocations: 27.98 kB / 1.376 GB, free: 3.094 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/1.042, allocations: 3.938 kB / 1.376 GB, free: 3.09 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/1.042, allocations: 11.89 kB / 1.376 GB, free: 3.078 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/1.042, allocations: 12.16 kB / 1.376 GB, free: 3.066 MB / 1.092 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.95e-05/1.043, allocations: 130.3 kB / 1.376 GB, free: 2.93 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/1.043, allocations: 3.953 kB / 1.376 GB, free: 2.926 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/1.043, allocations: 126 kB / 1.377 GB, free: 2.797 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.043, allocations: 3.984 kB / 1.377 GB, free: 2.793 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/1.043, allocations: 3.938 kB / 1.377 GB, free: 2.789 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/1.043, allocations: 93.05 kB / 1.377 GB, free: 2.68 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/1.043, allocations: 4.25 kB / 1.377 GB, free: 2.676 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/1.043, allocations: 15.98 kB / 1.377 GB, free: 2.66 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/1.043, allocations: 0 / 1.377 GB, free: 2.66 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001575/1.043, allocations: 180.9 kB / 1.377 GB, free: 2.477 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001873/1.043, allocations: 278.6 kB / 1.377 GB, free: 2.188 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.816e-05/1.043, allocations: 35.97 kB / 1.377 GB, free: 2.152 MB / 1.092 GB Notification: Performance of sorting global known variables: time 3.508e-05/1.043, allocations: 87.28 kB / 1.377 GB, free: 2.066 MB / 1.092 GB Notification: Performance of Backend: time 2.6e-07/1.043, allocations: 4 kB / 1.377 GB, free: 2.062 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006777/1.044, allocations: 255.5 kB / 1.377 GB, free: 1.809 MB / 1.092 GB Notification: Performance of SimCode: time 0.0004503/1.045, allocations: 0.6046 MB / 1.378 GB, free: 1.156 MB / 1.092 GB Notification: Performance of Templates: time 0.005084/1.05, allocations: 2.378 MB / 1.38 GB, free: 14.82 MB / 1.107 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","/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