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.0009605/0.0009605, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006275/0.006275, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.369/1.369, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.36/2.36, allocations: 390.9 MB / 0.6663 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 8 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6694/0.6697, allocations: 142.4 MB / 0.9551 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001281/0.671, allocations: 1.067 MB / 0.9561 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1646/0.8357, allocations: 144 MB / 1.097 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.8358, allocations: 0 / 1.097 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.8358, allocations: 0 / 1.097 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.836, allocations: 47.86 kB / 1.097 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.8371, allocations: 322.9 kB / 1.097 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.8373, allocations: 191.7 kB / 1.097 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.22e-05/0.8373, allocations: 0 / 1.097 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.176e-05/0.8374, allocations: 35.84 kB / 1.097 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.8375, allocations: 59.94 kB / 1.097 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.8376, allocations: 0 / 1.097 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007996/0.8384, allocations: 439 kB / 1.098 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.926e-05/0.8384, allocations: 27.91 kB / 1.098 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.8385, allocations: 53.58 kB / 1.098 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.8389, allocations: 289.3 kB / 1.098 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.8389, allocations: 0 / 1.098 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.955e-06/0.839, allocations: 0 / 1.098 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.839, allocations: 3.938 kB / 1.098 GB, free: 12.28 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.0003888/0.8394, allocations: 396.5 kB / 1.099 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.8394, allocations: 15.97 kB / 1.099 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.8394, allocations: 4.844 kB / 1.099 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.8396, allocations: 167.8 kB / 1.099 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.8396, allocations: 0 / 1.099 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.8396, allocations: 8 kB / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.8398, allocations: 89.59 kB / 1.099 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.8398, allocations: 0 / 1.099 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.8398, allocations: 0 / 1.099 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.8399, allocations: 27.91 kB / 1.099 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.84, allocations: 79.95 kB / 1.099 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.8405, allocations: 332.7 kB / 1.099 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.8407, allocations: 102.5 kB / 1.099 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.8408, allocations: 56.94 kB / 1.099 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009289/0.8417, allocations: 485.4 kB / 1.1 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.8418, allocations: 30.56 kB / 1.1 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.8418, allocations: 4 kB / 1.1 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003014/0.8421, allocations: 129.4 kB / 1.1 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.8421, allocations: 55.41 kB / 1.1 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.8422, allocations: 117.9 kB / 1.1 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.8422, allocations: 25.7 kB / 1.1 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.8423, allocations: 96.19 kB / 1.1 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.8423, allocations: 43.38 kB / 1.1 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.8424, allocations: 17.72 kB / 1.1 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.8425, allocations: 322.8 kB / 1.101 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.974e-05/0.8426, allocations: 31.92 kB / 1.101 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.8427, allocations: 73.12 kB / 1.101 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.8428, allocations: 117.4 kB / 1.101 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.8428, allocations: 0 / 1.101 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000197/0.843, allocations: 137.4 kB / 1.101 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.843, allocations: 9.25 kB / 1.101 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.843, allocations: 3.938 kB / 1.101 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.8431, allocations: 4 kB / 1.101 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.8432, allocations: 36.08 kB / 1.101 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.8432, allocations: 4 kB / 1.101 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.8432, allocations: 3.938 kB / 1.101 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.8433, allocations: 12 kB / 1.101 GB, free: 8.953 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 8.656e-05/0.8434, allocations: 121.8 kB / 1.101 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.8434, allocations: 11.84 kB / 1.101 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.8436, allocations: 126 kB / 1.101 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8436, allocations: 0 / 1.101 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8436, allocations: 0 / 1.101 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8436, allocations: 7.922 kB / 1.101 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.8438, allocations: 177.6 kB / 1.101 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8438, allocations: 0 / 1.101 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.606e-05/0.8439, allocations: 19.98 kB / 1.102 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8439, allocations: 0 / 1.102 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.8439, allocations: 7.938 kB / 1.102 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.8439, allocations: 3.938 kB / 1.102 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8439, allocations: 4 kB / 1.102 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.8441, allocations: 191.5 kB / 1.102 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.8442, allocations: 100.9 kB / 1.102 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.8442, allocations: 3.938 kB / 1.102 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.185e-05/0.8443, allocations: 0 / 1.102 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.8443, allocations: 4 kB / 1.102 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.8443, allocations: 11.98 kB / 1.102 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.379e-05/0.8444, allocations: 83.28 kB / 1.102 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8444, allocations: 7.938 kB / 1.102 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003417/0.8447, allocations: 79.92 kB / 1.102 GB, free: 7.91 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.0003186/0.8451, allocations: 179.5 kB / 1.102 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.8452, allocations: 88.14 kB / 1.102 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8452, allocations: 0 / 1.102 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.254e-05/0.8453, allocations: 39.92 kB / 1.102 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.8456, allocations: 17.41 kB / 1.102 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.846, allocations: 195.3 kB / 1.102 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.8462, allocations: 0.6965 MB / 1.103 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.8464, allocations: 53.09 kB / 1.103 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.8464, allocations: 11.44 kB / 1.103 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.8464, allocations: 0 / 1.103 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of Templates: time 0.005086/0.8515, allocations: 1.857 MB / 1.105 GB, free: 4.773 MB / 0.8575 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/jenkins/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