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.001961/0.001961, allocations: 103.3 kB / 16.27 MB, free: 5.98 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.002187/0.002187, allocations: 188.9 kB / 17.19 MB, free: 5.605 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.595/1.595, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.193/2.193, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 66.42 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2629, allocations: 140.4 MB / 0.9503 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002869/0.2658, allocations: 1.333 MB / 0.9516 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6657/0.9315, allocations: 147.9 MB / 1.096 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.9316, allocations: 1.156 kB / 1.096 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.695e-05/0.9317, allocations: 7.891 kB / 1.096 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.9319, allocations: 40.77 kB / 1.096 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.9331, allocations: 353.3 kB / 1.096 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.9333, allocations: 68.39 kB / 1.096 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.9334, allocations: 5.891 kB / 1.096 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.021e-05/0.9334, allocations: 30.31 kB / 1.096 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.9336, allocations: 54.02 kB / 1.097 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.9336, allocations: 2.094 kB / 1.097 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008747/0.9345, allocations: 413 kB / 1.097 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.071e-05/0.9345, allocations: 26.5 kB / 1.097 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.9346, allocations: 25.91 kB / 1.097 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000537/0.9351, allocations: 276.3 kB / 1.097 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9352, allocations: 0 / 1.097 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9352, allocations: 1.797 kB / 1.097 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.9352, allocations: 4 kB / 1.097 GB, free: 5.277 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.0006837/0.9359, allocations: 404.5 kB / 1.098 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.9359, allocations: 9.781 kB / 1.098 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.936, allocations: 8.156 kB / 1.098 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.9361, allocations: 171.3 kB / 1.098 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.9361, allocations: 1.406 kB / 1.098 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.9361, allocations: 3 kB / 1.098 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.9363, allocations: 93.36 kB / 1.098 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.9364, allocations: 0 / 1.098 GB, free: 20.65 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.9364, allocations: 5.281 kB / 1.098 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.964e-05/0.9364, allocations: 17.62 kB / 1.098 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.9366, allocations: 78.64 kB / 1.098 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.9371, allocations: 338.8 kB / 1.098 GB, free: 20.37 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.9372, allocations: 99.05 kB / 1.098 GB, free: 20.35 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.911e-05/0.9373, allocations: 53.39 kB / 1.098 GB, free: 20.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009429/0.9383, allocations: 471.2 kB / 1.099 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.9383, allocations: 35.03 kB / 1.099 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.9383, allocations: 0.7188 kB / 1.099 GB, free: 19.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0002952/0.9386, allocations: 129 kB / 1.099 GB, free: 19.79 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.9387, allocations: 54.62 kB / 1.099 GB, free: 19.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.544e-05/0.9388, allocations: 121.4 kB / 1.099 GB, free: 19.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.9388, allocations: 30.77 kB / 1.099 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.9389, allocations: 93.36 kB / 1.099 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.9389, allocations: 40.52 kB / 1.099 GB, free: 19.47 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.939, allocations: 36.2 kB / 1.099 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9391, allocations: 314.5 kB / 1.1 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.984e-05/0.9392, allocations: 30.47 kB / 1.1 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.9392, allocations: 77.31 kB / 1.1 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.9394, allocations: 114.5 kB / 1.1 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.9394, allocations: 0.75 kB / 1.1 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002234/0.9396, allocations: 144.8 kB / 1.1 GB, free: 19 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.9397, allocations: 5.844 kB / 1.1 GB, free: 19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9397, allocations: 1.812 kB / 1.1 GB, free: 19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.9397, allocations: 6.734 kB / 1.1 GB, free: 19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.9398, allocations: 28.8 kB / 1.1 GB, free: 19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.9398, allocations: 5.531 kB / 1.1 GB, free: 19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.9399, allocations: 11.56 kB / 1.1 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.9399, allocations: 14.44 kB / 1.1 GB, free: 18.99 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.0001016/0.94, allocations: 122.1 kB / 1.1 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.9401, allocations: 3.562 kB / 1.1 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.9403, allocations: 123.3 kB / 1.1 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.9403, allocations: 10.5 kB / 1.1 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.9403, allocations: 4 kB / 1.1 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9403, allocations: 5.422 kB / 1.1 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.9405, allocations: 178.9 kB / 1.101 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9405, allocations: 0 / 1.101 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.9406, allocations: 17.61 kB / 1.101 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.9406, allocations: 0.9688 kB / 1.101 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.9406, allocations: 1.75 kB / 1.101 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.9406, allocations: 5.562 kB / 1.101 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9406, allocations: 4.641 kB / 1.101 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.9409, allocations: 204.7 kB / 1.101 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.9409, allocations: 91.72 kB / 1.101 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.9409, allocations: 1.984 kB / 1.101 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.291e-05/0.941, allocations: 8.469 kB / 1.101 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.941, allocations: 8.312 kB / 1.101 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.941, allocations: 2.125 kB / 1.101 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.402e-05/0.9411, allocations: 89.48 kB / 1.101 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.9411, allocations: 0 / 1.101 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004418/0.9416, allocations: 76.3 kB / 1.101 GB, free: 18.3 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.0004033/0.942, allocations: 187.3 kB / 1.101 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.9422, allocations: 98.17 kB / 1.101 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.9422, allocations: 0 / 1.101 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/0.9423, allocations: 37.14 kB / 1.101 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.9426, allocations: 19.58 kB / 1.101 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.943, allocations: 210.5 kB / 1.102 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.9433, allocations: 0.6898 MB / 1.102 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.9433, allocations: 18.84 kB / 1.102 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.9433, allocations: 0 / 1.102 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of Templates: time 0.004318/0.9476, allocations: 1.845 MB / 1.104 GB, free: 17.14 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