Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 108 kB / 15.6 MB, free: 132 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.001035/0.001035, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6984/0.6984, allocations: 91.2 MB / 381.6 MB, free: 9.402 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 81.22 kB / 460.3 MB, free: 23.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1784, allocations: 67.69 MB / 0.5156 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.03816/0.2166, allocations: 39.36 MB / 0.5541 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.2279, allocations: 8.666 MB / 0.5625 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.2295, allocations: 35.75 kB / 0.5626 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.2311, allocations: 0.52 MB / 0.5631 GB, free: 9.426 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004601/0.2357, allocations: 1.301 MB / 0.5643 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.2385, allocations: 0.9009 MB / 0.5652 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002951/0.2414, allocations: 1.953 MB / 0.5671 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.2419, allocations: 260.4 kB / 0.5674 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/0.2452, allocations: 1.12 MB / 0.5685 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009705/0.2462, allocations: 0.7233 MB / 0.5692 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.2463, allocations: 96 kB / 0.5693 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002898/0.2492, allocations: 0.8504 MB / 0.5701 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.2496, allocations: 266.9 kB / 0.5704 GB, free: 1.926 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006861/0.2503, allocations: 0.6256 MB / 0.571 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003197/0.2535, allocations: 1.788 MB / 0.5727 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2535, allocations: 0 / 0.5727 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2535, allocations: 0 / 0.5727 GB, free: 15.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.2535, allocations: 0 / 0.5727 GB, free: 15.5 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003185/0.2567, allocations: 1.643 MB / 0.5743 GB, free: 13.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.2568, allocations: 12.03 kB / 0.5743 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003729/0.2571, allocations: 147.3 kB / 0.5745 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.2583, allocations: 0.7691 MB / 0.5752 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.2584, allocations: 95.7 kB / 0.5753 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.2586, allocations: 95.83 kB / 0.5754 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.2602, allocations: 0.9956 MB / 0.5764 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.2602, allocations: 4 kB / 0.5764 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.978e-05/0.2603, allocations: 40 kB / 0.5764 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.2603, allocations: 20 kB / 0.5764 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.2619, allocations: 0.8861 MB / 0.5773 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/0.2676, allocations: 4.62 MB / 0.5818 GB, free: 5.648 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.2696, allocations: 1.007 MB / 0.5828 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.2704, allocations: 466.1 kB / 0.5832 GB, free: 4.148 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003874/0.2742, allocations: 2.987 MB / 0.5862 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.2743, allocations: 47 kB / 0.5862 GB, free: 0.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=99): time 2.465e-06/0.2743, allocations: 0 / 0.5862 GB, free: 0.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.2749/0.5492, allocations: 4.246 MB / 0.5903 GB, free: 72.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.5493, allocations: 98.92 kB / 0.5904 GB, free: 72.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.5503, allocations: 0.7532 MB / 0.5912 GB, free: 71.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.5504, allocations: 47.44 kB / 0.5912 GB, free: 71.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.5507, allocations: 469.9 kB / 0.5917 GB, free: 71.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.551, allocations: 390.9 kB / 0.592 GB, free: 71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.5513, allocations: 185.8 kB / 0.5922 GB, free: 70.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.5514, allocations: 352.1 kB / 0.5926 GB, free: 70.58 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000853/0.5522, allocations: 384.5 kB / 0.5929 GB, free: 70.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008845/0.5531, allocations: 0.5408 MB / 0.5934 GB, free: 70.13 MB / 462.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.5551, allocations: 1.059 MB / 0.5945 GB, free: 69.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5551, allocations: 0.8125 kB / 0.5945 GB, free: 69.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003058/0.5581, allocations: 1.461 MB / 0.5959 GB, free: 68.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5582, allocations: 7.688 kB / 0.5959 GB, free: 68.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.5582, allocations: 5.281 kB / 0.5959 GB, free: 68.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.5593, allocations: 348.6 kB / 0.5963 GB, free: 68.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/0.56, allocations: 198.8 kB / 0.5964 GB, free: 68.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006969/0.567, allocations: 12.6 MB / 0.6087 GB, free: 56.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009518/0.568, allocations: 43.67 kB / 0.6088 GB, free: 56.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.992e-05/0.5681, allocations: 43.36 kB / 0.6088 GB, free: 56.49 MB / 462.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (110): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004779/0.5685, allocations: 259 kB / 0.6091 GB, free: 56.28 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.5688, allocations: 115 kB / 0.6092 GB, free: 56.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/0.5722, allocations: 1.601 MB / 0.6108 GB, free: 55.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.5722, allocations: 13.94 kB / 0.6108 GB, free: 55.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.5723, allocations: 5.953 kB / 0.6108 GB, free: 55.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.5723, allocations: 9 kB / 0.6108 GB, free: 55.51 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004959/0.5772, allocations: 2.715 MB / 0.6134 GB, free: 54.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.5773, allocations: 6.891 kB / 0.6134 GB, free: 54.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007566/0.578, allocations: 176.3 kB / 0.6136 GB, free: 54.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.5792, allocations: 350.9 kB / 0.6139 GB, free: 54.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-05/0.5793, allocations: 38.59 kB / 0.614 GB, free: 54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007946/0.5873, allocations: 12.61 MB / 0.6263 GB, free: 41.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.5873, allocations: 1.891 kB / 0.6263 GB, free: 41.78 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004478/0.5918, allocations: 2.096 MB / 0.6283 GB, free: 40.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.5922, allocations: 182.1 kB / 0.6285 GB, free: 40.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.5924, allocations: 28.08 kB / 0.6285 GB, free: 40.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007639/0.5931, allocations: 53.17 kB / 0.6286 GB, free: 40.54 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/0.5935, allocations: 96.3 kB / 0.6287 GB, free: 40.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.5936, allocations: 46.11 kB / 0.6287 GB, free: 40.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009074/0.5945, allocations: 0.5278 MB / 0.6292 GB, free: 40.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5945, allocations: 0.5625 kB / 0.6292 GB, free: 40.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001967/0.5965, allocations: 463.7 kB / 0.6297 GB, free: 40.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (reservoir1.M,reservoir1.U_med,pump.m_flow,conductionElement.h,reservoir.M,reservoir.U_med,flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow) * 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 (91): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,6,100.0%), (1,4,100.0%), (1,1,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007615/0.5973, allocations: 469.2 kB / 0.6301 GB, free: 40.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00359/0.6009, allocations: 2.107 MB / 0.6322 GB, free: 38.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.6009, allocations: 5.188 kB / 0.6322 GB, free: 38.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002202/0.6031, allocations: 1.595 MB / 0.6338 GB, free: 37.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.605, allocations: 348.4 kB / 0.6341 GB, free: 37.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.6095, allocations: 2.59 MB / 0.6366 GB, free: 35.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.6101, allocations: 1.087 MB / 0.6377 GB, free: 35.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009667/0.6111, allocations: 200.8 kB / 0.6379 GB, free: 35.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.6113, allocations: 98.28 kB / 0.638 GB, free: 35.04 MB / 462.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6113, allocations: 0 / 0.638 GB, free: 35.04 MB / 462.1 MB Notification: Performance of Templates: time 0.03278/0.6441, allocations: 23.87 MB / 0.6613 GB, free: 14.89 MB / 462.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches