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.001285/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001816/0.001816, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7062/0.7062, allocations: 91.19 MB / 381.2 MB, free: 9.602 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 85.8 kB / 459.6 MB, free: 23.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1561, allocations: 67.7 MB / 0.515 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04695/0.2031, allocations: 40.28 MB / 0.5543 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.2165, allocations: 8.861 MB / 0.563 GB, free: 9.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.2187, allocations: 43.69 kB / 0.563 GB, free: 9.297 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.2208, allocations: 461.5 kB / 0.5634 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.2259, allocations: 1.197 MB / 0.5646 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.2291, allocations: 0.7935 MB / 0.5654 GB, free: 6.848 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003764/0.2328, allocations: 2.424 MB / 0.5678 GB, free: 4.414 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005913/0.2335, allocations: 233.3 kB / 0.568 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/0.2363, allocations: 1.027 MB / 0.569 GB, free: 3.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.2378, allocations: 0.7115 MB / 0.5697 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.2382, allocations: 60 kB / 0.5697 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.2409, allocations: 0.7996 MB / 0.5705 GB, free: 1.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004249/0.2414, allocations: 230.8 kB / 0.5707 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.2424, allocations: 0.5866 MB / 0.5713 GB, free: 0.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003927/0.2464, allocations: 1.721 MB / 0.573 GB, free: 15.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2464, allocations: 0 / 0.573 GB, free: 15.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2464, allocations: 4 kB / 0.573 GB, free: 15.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.494e-05/0.2465, allocations: 0 / 0.573 GB, free: 15.02 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.004911/0.2514, allocations: 1.643 MB / 0.5746 GB, free: 13.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.2515, allocations: 8.031 kB / 0.5746 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006237/0.2521, allocations: 151.3 kB / 0.5747 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.2539, allocations: 0.7652 MB / 0.5755 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.254, allocations: 103.6 kB / 0.5756 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/0.2543, allocations: 91.91 kB / 0.5757 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.2565, allocations: 0.9956 MB / 0.5767 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.2566, allocations: 0 / 0.5767 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.991e-05/0.2567, allocations: 44 kB / 0.5767 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.2567, allocations: 20 kB / 0.5767 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.2585, allocations: 0.8822 MB / 0.5776 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007552/0.2661, allocations: 4.608 MB / 0.5821 GB, free: 5.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.2688, allocations: 1.01 MB / 0.5831 GB, free: 4.133 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008847/0.2697, allocations: 459.9 kB / 0.5835 GB, free: 3.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004854/0.2746, allocations: 2.995 MB / 0.5864 GB, free: 336 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.2747, allocations: 43 kB / 0.5865 GB, free: 284 kB / 462.1 MB Notification: Performance of pre-optimization done (n=99): time 3.246e-06/0.2747, allocations: 0 / 0.5865 GB, free: 284 kB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.3144/0.5892, allocations: 4.235 MB / 0.5906 GB, free: 72.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.5892, allocations: 93.05 kB / 0.5907 GB, free: 72.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.5904, allocations: 0.7608 MB / 0.5914 GB, free: 71.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.056e-05/0.5904, allocations: 47.75 kB / 0.5915 GB, free: 71.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.5908, allocations: 477.2 kB / 0.5919 GB, free: 71.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.591, allocations: 393.1 kB / 0.5923 GB, free: 71.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002999/0.5913, allocations: 182.2 kB / 0.5925 GB, free: 71.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.5914, allocations: 344.4 kB / 0.5928 GB, free: 70.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008597/0.5923, allocations: 381.5 kB / 0.5932 GB, free: 70.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009352/0.5932, allocations: 0.5453 MB / 0.5937 GB, free: 70.42 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.002049/0.5953, allocations: 1.062 MB / 0.5947 GB, free: 69.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5953, allocations: 0.8438 kB / 0.5947 GB, free: 69.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003408/0.5987, allocations: 1.453 MB / 0.5962 GB, free: 69.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.5988, allocations: 6.5 kB / 0.5962 GB, free: 69.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.5988, allocations: 5.938 kB / 0.5962 GB, free: 69.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.6, allocations: 350 kB / 0.5965 GB, free: 69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000773/0.6008, allocations: 196.4 kB / 0.5967 GB, free: 68.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007096/0.6079, allocations: 11.6 MB / 0.608 GB, free: 57.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.6091, allocations: 58.91 kB / 0.6081 GB, free: 57.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.717e-05/0.6092, allocations: 50.61 kB / 0.6081 GB, free: 57.72 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.0005075/0.6097, allocations: 256 kB / 0.6084 GB, free: 57.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.6099, allocations: 107.6 kB / 0.6085 GB, free: 57.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/0.6135, allocations: 1.615 MB / 0.6101 GB, free: 56.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.6135, allocations: 11.36 kB / 0.6101 GB, free: 56.74 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.6135, allocations: 5.25 kB / 0.6101 GB, free: 56.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.6135, allocations: 5.438 kB / 0.6101 GB, free: 56.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004993/0.6185, allocations: 2.714 MB / 0.6127 GB, free: 55.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.6186, allocations: 4.438 kB / 0.6127 GB, free: 55.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/0.6194, allocations: 175.6 kB / 0.6129 GB, free: 55.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/0.6206, allocations: 359.2 kB / 0.6132 GB, free: 55.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.67e-05/0.6207, allocations: 42.47 kB / 0.6133 GB, free: 55.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007372/0.6281, allocations: 11.61 MB / 0.6246 GB, free: 44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.6281, allocations: 4.141 kB / 0.6246 GB, free: 44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004965/0.6331, allocations: 2.092 MB / 0.6267 GB, free: 42.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.6336, allocations: 178.6 kB / 0.6268 GB, free: 42.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.6337, allocations: 27.03 kB / 0.6269 GB, free: 42.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009479/0.6347, allocations: 74.03 kB / 0.6269 GB, free: 42.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/0.6351, allocations: 90.17 kB / 0.627 GB, free: 42.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.6352, allocations: 41.31 kB / 0.6271 GB, free: 42.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009969/0.6362, allocations: 0.5298 MB / 0.6276 GB, free: 42.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6362, allocations: 1.062 kB / 0.6276 GB, free: 42.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002159/0.6384, allocations: 481.8 kB / 0.628 GB, free: 42.43 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.0008586/0.6392, allocations: 471 kB / 0.6285 GB, free: 42.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00335/0.6426, allocations: 2.064 MB / 0.6305 GB, free: 40.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.6426, allocations: 5.125 kB / 0.6305 GB, free: 40.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.6449, allocations: 1.591 MB / 0.6321 GB, free: 39.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.6468, allocations: 326 kB / 0.6324 GB, free: 39.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.6517, allocations: 3.013 MB / 0.6353 GB, free: 37.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.6523, allocations: 1.079 MB / 0.6364 GB, free: 36.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009867/0.6533, allocations: 199.9 kB / 0.6365 GB, free: 36.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.6536, allocations: 101.8 kB / 0.6366 GB, free: 36.83 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6536, allocations: 0 / 0.6366 GB, free: 36.83 MB / 462.1 MB Notification: Performance of Templates: time 0.03563/0.6893, allocations: 22.96 MB / 0.6591 GB, free: 17.43 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