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.00528/0.00528, allocations: 99.19 kB / 15.73 MB, free: 6.039 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.001099/0.0011, allocations: 187.5 kB / 16.67 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6818/0.6818, allocations: 91.21 MB / 381.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 87.86 kB / 0.5169 GB, free: 9.008 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1284, allocations: 67.69 MB / 0.583 GB, free: 5.238 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.3345/0.463, allocations: 39.35 MB / 0.6214 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.4761, allocations: 8.662 MB / 0.6298 GB, free: 12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.4777, allocations: 37.66 kB / 0.6299 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.4795, allocations: 0.5197 MB / 0.6304 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004621/0.4841, allocations: 1.308 MB / 0.6317 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.4873, allocations: 0.892 MB / 0.6325 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003183/0.4905, allocations: 1.965 MB / 0.6345 GB, free: 9.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004518/0.4909, allocations: 260.5 kB / 0.6347 GB, free: 9.324 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.4933, allocations: 1.136 MB / 0.6358 GB, free: 8.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009702/0.4943, allocations: 0.7271 MB / 0.6365 GB, free: 8.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.4944, allocations: 95.84 kB / 0.6366 GB, free: 8.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.4969, allocations: 0.8573 MB / 0.6375 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.4971, allocations: 257 kB / 0.6377 GB, free: 7.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006195/0.4977, allocations: 0.6311 MB / 0.6383 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.5005, allocations: 1.815 MB / 0.6401 GB, free: 6.238 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5005, allocations: 0 / 0.6401 GB, free: 6.238 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5005, allocations: 0 / 0.6401 GB, free: 6.238 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.5005, allocations: 0 / 0.6401 GB, free: 6.238 MB / 494.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.003174/0.5037, allocations: 1.661 MB / 0.6417 GB, free: 4.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.5037, allocations: 7.938 kB / 0.6417 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003814/0.5041, allocations: 145 kB / 0.6419 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.5056, allocations: 0.8259 MB / 0.6427 GB, free: 4.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.5057, allocations: 95.81 kB / 0.6428 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.5058, allocations: 89.53 kB / 0.6428 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.5075, allocations: 0.9918 MB / 0.6438 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.5076, allocations: 0.9375 kB / 0.6438 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.5076, allocations: 37 kB / 0.6438 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.5077, allocations: 20.72 kB / 0.6439 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.5094, allocations: 0.8953 MB / 0.6447 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006028/0.5154, allocations: 4.598 MB / 0.6492 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/0.5175, allocations: 1.015 MB / 0.6502 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008103/0.5184, allocations: 461.6 kB / 0.6507 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004007/0.5224, allocations: 2.996 MB / 0.6536 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.5224, allocations: 48.34 kB / 0.6536 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=99): time 2.495e-06/0.5224, allocations: 0 / 0.6536 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112): time 0.01009/0.5325, allocations: 4.248 MB / 0.6578 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.5326, allocations: 97.02 kB / 0.6579 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.5337, allocations: 0.7488 MB / 0.6586 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/0.5338, allocations: 47.7 kB / 0.6587 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/0.5342, allocations: 472.1 kB / 0.6591 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.5345, allocations: 390 kB / 0.6595 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/0.5349, allocations: 192.6 kB / 0.6597 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5351, allocations: 347.2 kB / 0.66 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008142/0.5359, allocations: 380.3 kB / 0.6603 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009494/0.5368, allocations: 0.5467 MB / 0.6609 GB, free: 5.898 MB / 0.4981 GB 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.00198/0.5388, allocations: 1.061 MB / 0.6619 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5388, allocations: 0 / 0.6619 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003406/0.5423, allocations: 1.463 MB / 0.6633 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.5423, allocations: 6.875 kB / 0.6634 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.5423, allocations: 5.5 kB / 0.6634 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.5435, allocations: 346 kB / 0.6637 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/0.5443, allocations: 198.2 kB / 0.6639 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.5544, allocations: 12.59 MB / 0.6762 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.5556, allocations: 39.97 kB / 0.6762 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.5557, allocations: 48.12 kB / 0.6763 GB, free: 6.418 MB / 0.5137 GB 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.0005674/0.5563, allocations: 254.4 kB / 0.6765 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.5565, allocations: 126.5 kB / 0.6766 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.5603, allocations: 1.594 MB / 0.6782 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.5603, allocations: 12 kB / 0.6782 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.5603, allocations: 4 kB / 0.6782 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.5603, allocations: 7.969 kB / 0.6782 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005097/0.5654, allocations: 2.723 MB / 0.6809 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.5655, allocations: 0 / 0.6809 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00078/0.5662, allocations: 179.8 kB / 0.681 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.5674, allocations: 358.5 kB / 0.6814 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.581e-05/0.5675, allocations: 35.97 kB / 0.6814 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.5778, allocations: 12.6 MB / 0.6937 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5778, allocations: 0 / 0.6937 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004545/0.5823, allocations: 2.095 MB / 0.6958 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005523/0.5829, allocations: 179.7 kB / 0.6959 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.5831, allocations: 24 kB / 0.696 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/0.5838, allocations: 55.89 kB / 0.696 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/0.5841, allocations: 96.81 kB / 0.6961 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.6e-05/0.5842, allocations: 39.97 kB / 0.6961 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007545/0.585, allocations: 0.5345 MB / 0.6967 GB, free: 168 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.585, allocations: 0 / 0.6967 GB, free: 168 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001895/0.5869, allocations: 467.8 kB / 0.6971 GB, free: 15.71 MB / 0.545 GB 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.0008665/0.5878, allocations: 462.6 kB / 0.6975 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003628/0.5914, allocations: 2.067 MB / 0.6996 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.5915, allocations: 0 / 0.6996 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.594, allocations: 1.602 MB / 0.7011 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.5959, allocations: 361.2 kB / 0.7015 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005148/0.601, allocations: 2.551 MB / 0.704 GB, free: 8.426 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009803/0.602, allocations: 1.075 MB / 0.705 GB, free: 7.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009714/0.603, allocations: 200.4 kB / 0.7052 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.6033, allocations: 107.4 kB / 0.7053 GB, free: 7.02 MB / 0.545 GB Notification: Performance of SimCode: time 8.61e-07/0.6033, allocations: 0 / 0.7053 GB, free: 7.02 MB / 0.545 GB Notification: Performance of Templates: time 0.04147/0.6448, allocations: 24.55 MB / 0.7293 GB, free: 14.64 MB / 0.5762 GB 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