Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_9_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_9_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.001045/0.001045, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 63.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5657/0.5675, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00228/0.5698, allocations: 1.329 MB / 0.951 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1512/0.7211, allocations: 147.9 MB / 1.095 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.7212, allocations: 0 / 1.095 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.848e-05/0.7213, allocations: 4 kB / 1.095 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.7216, allocations: 39.88 kB / 1.095 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.723, allocations: 362.5 kB / 1.096 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.7231, allocations: 63.81 kB / 1.096 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.7232, allocations: 4 kB / 1.096 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.43e-05/0.7233, allocations: 39.84 kB / 1.096 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.7234, allocations: 47.94 kB / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.7234, allocations: 4 kB / 1.096 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009425/0.7244, allocations: 407.1 kB / 1.096 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.7245, allocations: 27.91 kB / 1.096 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.7245, allocations: 27.86 kB / 1.096 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006711/0.7252, allocations: 277.6 kB / 1.097 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7252, allocations: 0 / 1.097 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.895e-06/0.7252, allocations: 0 / 1.097 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.7252, allocations: 0 / 1.097 GB, free: 10.82 MB / 0.8575 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.0005892/0.7258, allocations: 399.3 kB / 1.097 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.7259, allocations: 16.03 kB / 1.097 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.7259, allocations: 34.73 kB / 1.097 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.726, allocations: 12.84 kB / 1.097 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.7261, allocations: 167.5 kB / 1.097 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.7261, allocations: 4 kB / 1.097 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.7262, allocations: 0 / 1.097 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.7264, allocations: 97.58 kB / 1.097 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.7264, allocations: 3.984 kB / 1.097 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.7264, allocations: 4 kB / 1.097 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.7265, allocations: 15.98 kB / 1.097 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.7266, allocations: 78.06 kB / 1.097 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.7271, allocations: 340.7 kB / 1.098 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.7272, allocations: 106.4 kB / 1.098 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/0.7273, allocations: 48.84 kB / 1.098 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009159/0.7283, allocations: 477.4 kB / 1.098 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.7283, allocations: 38.56 kB / 1.098 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.7283, allocations: 0 / 1.098 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0002919/0.7286, allocations: 129.5 kB / 1.099 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.7286, allocations: 51.41 kB / 1.099 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.646e-05/0.7287, allocations: 117.9 kB / 1.099 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.7288, allocations: 37.7 kB / 1.099 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.7288, allocations: 88.19 kB / 1.099 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.7289, allocations: 43.39 kB / 1.099 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.7289, allocations: 29.7 kB / 1.099 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.729, allocations: 318.8 kB / 1.099 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.107e-05/0.7291, allocations: 27.98 kB / 1.099 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.087e-05/0.7292, allocations: 73.12 kB / 1.099 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.7293, allocations: 113.1 kB / 1.099 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7294, allocations: 3.938 kB / 1.099 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001998/0.7296, allocations: 145.4 kB / 1.1 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.7296, allocations: 7.938 kB / 1.1 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.7296, allocations: 4 kB / 1.1 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7296, allocations: 0 / 1.1 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.7297, allocations: 27.98 kB / 1.1 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.7298, allocations: 3.984 kB / 1.1 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.7298, allocations: 15.84 kB / 1.1 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.7298, allocations: 4 kB / 1.1 GB, free: 7.445 MB / 0.8575 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 9.712e-05/0.7299, allocations: 133.9 kB / 1.1 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.73, allocations: 7.938 kB / 1.1 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.7302, allocations: 126.4 kB / 1.1 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7302, allocations: 7.938 kB / 1.1 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7302, allocations: 0 / 1.1 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.7303, allocations: 0 / 1.1 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.7305, allocations: 185.6 kB / 1.1 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7305, allocations: 0 / 1.1 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.7305, allocations: 16 kB / 1.1 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.7305, allocations: 3.938 kB / 1.1 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.7306, allocations: 4 kB / 1.1 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7306, allocations: 3.984 kB / 1.1 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7306, allocations: 3.938 kB / 1.1 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.7308, allocations: 195.4 kB / 1.1 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.7308, allocations: 89.09 kB / 1.1 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.7309, allocations: 7.938 kB / 1.1 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.7309, allocations: 8.25 kB / 1.1 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.731, allocations: 7.922 kB / 1.1 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-06/0.731, allocations: 11.94 kB / 1.1 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.731, allocations: 87.28 kB / 1.1 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.731, allocations: 0 / 1.1 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000357/0.7314, allocations: 75.92 kB / 1.101 GB, free: 6.391 MB / 0.8575 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.0006614/0.7321, allocations: 0.8099 MB / 1.101 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.7322, allocations: 100.1 kB / 1.101 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7323, allocations: 4.312 kB / 1.101 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.381e-05/0.7323, allocations: 40.14 kB / 1.101 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.7326, allocations: 13.61 kB / 1.102 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.7331, allocations: 244.3 kB / 1.102 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.7334, allocations: 0.6963 MB / 1.102 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.7336, allocations: 48.44 kB / 1.102 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.7336, allocations: 19.44 kB / 1.102 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.7336, allocations: 0 / 1.102 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.7526, allocations: 3.176 MB / 1.106 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.625, allocations: 18.59 kB / 1.106 GB, free: 1.324 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,cpe10,cpe15,cpe20,cpe25,cpe30 Variables in the result:TIn[1,1],TIn[1,2],TIn[1,3],TIn[1,4],TIn[1,5],TOut[1,1],TOut[1,2],TOut[1,3],TOut[1,4],TOut[1,5],cpe10,cpe15,cpe20,cpe25,cpe30,deltaT,time