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: 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_9_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_9_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.001348/0.001348, allocations: 101.1 kB / 15.98 MB, free: 6.359 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.001536/0.001536, allocations: 197.1 kB / 16.91 MB, free: 6.191 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.267/2.267, allocations: 390.3 MB / 0.665 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 66.22 kB / 0.8127 GB, free: 32.36 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2814, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002916/0.2844, allocations: 1.409 MB / 0.9512 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7071/0.9915, allocations: 145.7 MB / 1.093 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.9916, allocations: 1.156 kB / 1.093 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.032e-05/0.9916, allocations: 1.5 kB / 1.093 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.9918, allocations: 43.36 kB / 1.093 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.9929, allocations: 335.7 kB / 1.094 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.993, allocations: 62.92 kB / 1.094 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.9931, allocations: 9.797 kB / 1.094 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.436e-05/0.9932, allocations: 28.58 kB / 1.094 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.9933, allocations: 61.89 kB / 1.094 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.9933, allocations: 5.844 kB / 1.094 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008343/0.9942, allocations: 420.5 kB / 1.094 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.861e-05/0.9942, allocations: 30.78 kB / 1.094 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.9943, allocations: 28.94 kB / 1.094 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.9947, allocations: 191.9 kB / 1.095 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9947, allocations: 0 / 1.095 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9947, allocations: 0 / 1.095 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.9947, allocations: 0.9375 kB / 1.095 GB, free: 5.754 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.0006758/0.9954, allocations: 401.3 kB / 1.095 GB, free: 21.36 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.9954, allocations: 16.41 kB / 1.095 GB, free: 21.36 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.9955, allocations: 6.688 kB / 1.095 GB, free: 21.36 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.9956, allocations: 168.5 kB / 1.095 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.9956, allocations: 1.562 kB / 1.095 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.9956, allocations: 3.484 kB / 1.095 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.9958, allocations: 92.11 kB / 1.095 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.9959, allocations: 1.203 kB / 1.095 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.9959, allocations: 1.062 kB / 1.095 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.9959, allocations: 16.98 kB / 1.095 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.9961, allocations: 82.45 kB / 1.095 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.9966, allocations: 338.5 kB / 1.096 GB, free: 20.85 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.9968, allocations: 101.8 kB / 1.096 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.9969, allocations: 52.94 kB / 1.096 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009293/0.9978, allocations: 473.1 kB / 1.096 GB, free: 20.34 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.9979, allocations: 36.16 kB / 1.096 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.542e-06/0.9979, allocations: 1.094 kB / 1.096 GB, free: 20.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0002944/0.9982, allocations: 127.9 kB / 1.096 GB, free: 20.26 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.9982, allocations: 53.47 kB / 1.097 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.9983, allocations: 113.4 kB / 1.097 GB, free: 20.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.9983, allocations: 30.17 kB / 1.097 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.9984, allocations: 98.97 kB / 1.097 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.9984, allocations: 42.95 kB / 1.097 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.9985, allocations: 31.25 kB / 1.097 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.9986, allocations: 319.4 kB / 1.097 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.9987, allocations: 28.2 kB / 1.097 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.522e-05/0.9988, allocations: 76.31 kB / 1.097 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.9989, allocations: 116.9 kB / 1.097 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9989, allocations: 1.125 kB / 1.097 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002276/0.9992, allocations: 146.2 kB / 1.097 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.9992, allocations: 5.391 kB / 1.097 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9992, allocations: 1.938 kB / 1.097 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.9992, allocations: 6.281 kB / 1.097 GB, free: 19.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.9993, allocations: 27.33 kB / 1.098 GB, free: 19.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.9994, allocations: 3.547 kB / 1.098 GB, free: 19.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.9994, allocations: 16.3 kB / 1.098 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.9994, allocations: 4.344 kB / 1.098 GB, free: 19.46 MB / 0.8731 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 0.0001001/0.9995, allocations: 125.2 kB / 1.098 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.9996, allocations: 5.75 kB / 1.098 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.9998, allocations: 129 kB / 1.098 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.9998, allocations: 6.141 kB / 1.098 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.9999, allocations: 1.156 kB / 1.098 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.9999, allocations: 0.7031 kB / 1.098 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/1, allocations: 178.4 kB / 1.098 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1, allocations: 5.969 kB / 1.098 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/1, allocations: 17.28 kB / 1.098 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1, allocations: 3.281 kB / 1.098 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/1, allocations: 1.453 kB / 1.098 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/1, allocations: 4.719 kB / 1.098 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1, allocations: 0.6875 kB / 1.098 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/1, allocations: 197.6 kB / 1.098 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/1, allocations: 94.47 kB / 1.098 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/1, allocations: 1.359 kB / 1.098 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.584e-05/1.001, allocations: 13.88 kB / 1.098 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/1.001, allocations: 6.594 kB / 1.098 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/1.001, allocations: 4.016 kB / 1.098 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.547e-05/1.001, allocations: 88.97 kB / 1.098 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.001, allocations: 0 / 1.098 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004145/1.001, allocations: 78.33 kB / 1.098 GB, free: 18.78 MB / 0.8731 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.0003682/1.001, allocations: 186.2 kB / 1.099 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002053/1.002, allocations: 98.98 kB / 1.099 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.002, allocations: 0 / 1.099 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.169e-05/1.002, allocations: 41.58 kB / 1.099 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/1.002, allocations: 16.91 kB / 1.099 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/1.002, allocations: 225.6 kB / 1.099 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/1.003, allocations: 0.6889 MB / 1.1 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/1.003, allocations: 22.3 kB / 1.1 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.003, allocations: 0 / 1.1 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.004431/1.007, allocations: 1.837 MB / 1.101 GB, free: 17.6 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) Reference file matches