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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004964/0.004964, allocations: 104.6 kB / 15.74 MB, free: 6.02 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.001345/0.001345, allocations: 192 kB / 16.67 MB, free: 5.938 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.465/2.465, allocations: 482.6 MB / 0.7551 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 76.27 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2593, allocations: 162.3 MB / 1.242 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002028/0.2614, allocations: 1.333 MB / 1.243 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1515/0.4129, allocations: 147.9 MB / 1.388 GB, free: 3.102 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.413, allocations: 0 / 1.388 GB, free: 3.102 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.413, allocations: 7.984 kB / 1.388 GB, free: 3.094 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.4132, allocations: 43.88 kB / 1.388 GB, free: 3.051 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009698/0.4142, allocations: 354.5 kB / 1.388 GB, free: 2.703 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.4143, allocations: 71.81 kB / 1.388 GB, free: 2.633 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.4143, allocations: 8 kB / 1.388 GB, free: 2.625 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.4144, allocations: 27.91 kB / 1.388 GB, free: 2.598 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.4145, allocations: 55.88 kB / 1.388 GB, free: 2.543 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.4145, allocations: 0 / 1.388 GB, free: 2.543 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007141/0.4152, allocations: 411.1 kB / 1.389 GB, free: 2.141 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.4153, allocations: 23.91 kB / 1.389 GB, free: 2.117 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.4153, allocations: 27.86 kB / 1.389 GB, free: 2.09 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004428/0.4158, allocations: 275.5 kB / 1.389 GB, free: 1.82 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4158, allocations: 0 / 1.389 GB, free: 1.82 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.156e-06/0.4158, allocations: 0 / 1.389 GB, free: 1.82 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4158, allocations: 11.88 kB / 1.389 GB, free: 1.809 MB / 1.107 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.0004216/0.4163, allocations: 402.8 kB / 1.389 GB, free: 1.367 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.4163, allocations: 8.031 kB / 1.389 GB, free: 1.359 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.4163, allocations: 42.73 kB / 1.389 GB, free: 1.309 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.4164, allocations: 8.891 kB / 1.389 GB, free: 1.301 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.4165, allocations: 164.1 kB / 1.389 GB, free: 1.102 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.4165, allocations: 4 kB / 1.389 GB, free: 1.098 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.4165, allocations: 0 / 1.389 GB, free: 1.098 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.4167, allocations: 103.6 kB / 1.39 GB, free: 0.9922 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4167, allocations: 4 kB / 1.39 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.4167, allocations: 3.984 kB / 1.39 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.4167, allocations: 11.98 kB / 1.39 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.4169, allocations: 79.95 kB / 1.39 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.4173, allocations: 336.7 kB / 1.39 GB, free: 0.5156 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.4175, allocations: 102.6 kB / 1.39 GB, free: 416 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.4176, allocations: 52.91 kB / 1.39 GB, free: 360 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00086/0.4184, allocations: 477.5 kB / 1.391 GB, free: 15.79 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.4185, allocations: 38.56 kB / 1.391 GB, free: 15.75 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.4185, allocations: 0 / 1.391 GB, free: 15.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.000233/0.4187, allocations: 125.4 kB / 1.391 GB, free: 15.62 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.4188, allocations: 59.39 kB / 1.391 GB, free: 15.55 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.4188, allocations: 113.8 kB / 1.391 GB, free: 15.43 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.4189, allocations: 25.7 kB / 1.391 GB, free: 15.39 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.4189, allocations: 96.23 kB / 1.391 GB, free: 15.3 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.419, allocations: 43.62 kB / 1.391 GB, free: 15.25 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.419, allocations: 37.64 kB / 1.391 GB, free: 15.21 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4191, allocations: 314.8 kB / 1.391 GB, free: 14.89 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.489e-05/0.4192, allocations: 31.98 kB / 1.391 GB, free: 14.86 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.89e-05/0.4193, allocations: 73.12 kB / 1.391 GB, free: 14.77 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.4194, allocations: 113.1 kB / 1.392 GB, free: 14.64 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4194, allocations: 0 / 1.392 GB, free: 14.64 MB / 1.123 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001955/0.4196, allocations: 141.4 kB / 1.392 GB, free: 14.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.4197, allocations: 4 kB / 1.392 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.4197, allocations: 0 / 1.392 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4197, allocations: 7.938 kB / 1.392 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.919e-05/0.4198, allocations: 31.92 kB / 1.392 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4198, allocations: 4.156 kB / 1.392 GB, free: 14.45 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.4199, allocations: 15.89 kB / 1.392 GB, free: 14.44 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.4199, allocations: 7.938 kB / 1.392 GB, free: 14.43 MB / 1.123 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 8.914e-05/0.42, allocations: 125.8 kB / 1.392 GB, free: 14.3 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.42, allocations: 7.953 kB / 1.392 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.4202, allocations: 122.5 kB / 1.392 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4202, allocations: 7.922 kB / 1.392 GB, free: 14.15 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.4202, allocations: 4 kB / 1.392 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4202, allocations: 4 kB / 1.392 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.4204, allocations: 181.6 kB / 1.392 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4204, allocations: 0 / 1.392 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.973e-05/0.4205, allocations: 19.94 kB / 1.392 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4205, allocations: 0 / 1.392 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.4205, allocations: 4 kB / 1.392 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.4205, allocations: 7.938 kB / 1.392 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4205, allocations: 3.984 kB / 1.392 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.4207, allocations: 195.5 kB / 1.392 GB, free: 13.67 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.4208, allocations: 89.05 kB / 1.393 GB, free: 13.57 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.4208, allocations: 4.25 kB / 1.393 GB, free: 13.56 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/0.4209, allocations: 3.938 kB / 1.393 GB, free: 13.56 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.4209, allocations: 15.92 kB / 1.393 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.4209, allocations: 4 kB / 1.393 GB, free: 13.54 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.16e-05/0.421, allocations: 87.28 kB / 1.393 GB, free: 13.45 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.421, allocations: 0 / 1.393 GB, free: 13.45 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002993/0.4213, allocations: 79.73 kB / 1.393 GB, free: 13.38 MB / 1.123 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.0006615/0.4219, allocations: 0.818 MB / 1.394 GB, free: 12.53 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001525/0.4221, allocations: 87.89 kB / 1.394 GB, free: 12.45 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4221, allocations: 0 / 1.394 GB, free: 12.45 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.4222, allocations: 39.92 kB / 1.394 GB, free: 12.41 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.4224, allocations: 12.7 kB / 1.394 GB, free: 12.39 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.4229, allocations: 240 kB / 1.394 GB, free: 12.12 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.4232, allocations: 0.6899 MB / 1.395 GB, free: 11.41 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.4233, allocations: 60.28 kB / 1.395 GB, free: 11.35 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.4234, allocations: 19.44 kB / 1.395 GB, free: 11.33 MB / 1.123 GB Notification: Performance of SimCode: time 2.6e-07/0.4234, allocations: 7.938 kB / 1.395 GB, free: 11.32 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.685/4.108, allocations: 3.211 MB / 1.398 GB, free: 8.316 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.245/13.35, allocations: 4.875 kB / 1.398 GB, free: 8.312 MB / 1.123 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > 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