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.001111/0.001111, 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.001259/0.001259, allocations: 195.8 kB / 16.14 MB, free: 6.711 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.355/1.355, 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.7331/0.7331, allocations: 91.18 MB / 381.1 MB, free: 9.609 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 81.06 kB / 459.6 MB, free: 23.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1365, allocations: 67.7 MB / 0.515 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04098/0.1776, allocations: 40.29 MB / 0.5543 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.1886, allocations: 8.865 MB / 0.563 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.1903, allocations: 43.69 kB / 0.563 GB, free: 9.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.192, allocations: 457.4 kB / 0.5634 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003631/0.1957, allocations: 1.193 MB / 0.5646 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.1979, allocations: 0.7896 MB / 0.5654 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00272/0.2006, allocations: 2.421 MB / 0.5677 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.2011, allocations: 245.3 kB / 0.568 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.2033, allocations: 1.019 MB / 0.569 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.2044, allocations: 0.7116 MB / 0.5697 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000265/0.2047, allocations: 60 kB / 0.5697 GB, free: 2.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.207, allocations: 0.8112 MB / 0.5705 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003254/0.2073, allocations: 222.8 kB / 0.5707 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008066/0.2081, allocations: 0.5905 MB / 0.5713 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.2109, allocations: 1.717 MB / 0.573 GB, free: 15.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2109, allocations: 7.984 kB / 0.573 GB, free: 15.04 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2109, allocations: 0 / 0.573 GB, free: 15.04 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.373e-05/0.211, allocations: 0 / 0.573 GB, free: 15.04 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.00359/0.2146, allocations: 1.643 MB / 0.5746 GB, free: 13.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2146, allocations: 12.03 kB / 0.5746 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004325/0.2151, allocations: 143.3 kB / 0.5747 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.2164, allocations: 0.7769 MB / 0.5755 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.496e-05/0.2165, allocations: 91.7 kB / 0.5756 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.2166, allocations: 87.91 kB / 0.5757 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.2184, allocations: 0.9917 MB / 0.5766 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.2184, allocations: 4 kB / 0.5766 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/0.2185, allocations: 36 kB / 0.5767 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.2186, allocations: 20 kB / 0.5767 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.2203, allocations: 0.8939 MB / 0.5776 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006153/0.2265, allocations: 4.6 MB / 0.5821 GB, free: 5.211 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.2287, allocations: 1.006 MB / 0.583 GB, free: 4.168 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008396/0.2295, allocations: 463.9 kB / 0.5835 GB, free: 3.711 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003872/0.2334, allocations: 2.991 MB / 0.5864 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.2335, allocations: 54.98 kB / 0.5865 GB, free: 308 kB / 462.1 MB Notification: Performance of pre-optimization done (n=99): time 2.725e-06/0.2335, allocations: 0 / 0.5865 GB, free: 308 kB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.2441/0.4776, allocations: 4.24 MB / 0.5906 GB, free: 72.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.4777, allocations: 89.95 kB / 0.5907 GB, free: 72.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.4791, allocations: 0.7547 MB / 0.5914 GB, free: 71.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.991e-05/0.4792, allocations: 48.14 kB / 0.5915 GB, free: 71.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.4796, allocations: 474.4 kB / 0.5919 GB, free: 71.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/0.4799, allocations: 390.2 kB / 0.5923 GB, free: 71.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.4802, allocations: 185.7 kB / 0.5925 GB, free: 71.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.4803, allocations: 350.8 kB / 0.5928 GB, free: 70.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008392/0.4812, allocations: 379.3 kB / 0.5932 GB, free: 70.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009666/0.4822, allocations: 0.5462 MB / 0.5937 GB, free: 70.25 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.002082/0.4843, allocations: 1.061 MB / 0.5947 GB, free: 69.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.4843, allocations: 1 kB / 0.5947 GB, free: 69.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003353/0.4876, allocations: 1.451 MB / 0.5961 GB, free: 68.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4877, allocations: 5.875 kB / 0.5962 GB, free: 68.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.4877, allocations: 6.375 kB / 0.5962 GB, free: 68.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.4889, allocations: 356.4 kB / 0.5965 GB, free: 68.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007847/0.4897, allocations: 196.2 kB / 0.5967 GB, free: 68.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007561/0.4973, allocations: 11.59 MB / 0.608 GB, free: 57.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.4984, allocations: 58.81 kB / 0.6081 GB, free: 57.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.4986, allocations: 47.39 kB / 0.6081 GB, free: 57.56 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.0006332/0.4992, allocations: 254.2 kB / 0.6084 GB, free: 57.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003944/0.4996, allocations: 109 kB / 0.6085 GB, free: 57.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/0.5033, allocations: 1.609 MB / 0.61 GB, free: 56.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.5034, allocations: 16.36 kB / 0.61 GB, free: 56.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.745e-05/0.5034, allocations: 5.75 kB / 0.61 GB, free: 56.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.5034, allocations: 5.672 kB / 0.6101 GB, free: 56.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005485/0.5089, allocations: 2.717 MB / 0.6127 GB, free: 55.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.509, allocations: 3.312 kB / 0.6127 GB, free: 55.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007946/0.5098, allocations: 180.3 kB / 0.6129 GB, free: 55.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.511, allocations: 354 kB / 0.6132 GB, free: 55.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.5111, allocations: 38.73 kB / 0.6133 GB, free: 55.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007232/0.5183, allocations: 11.62 MB / 0.6246 GB, free: 43.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5184, allocations: 2.391 kB / 0.6246 GB, free: 43.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004533/0.5229, allocations: 2.08 MB / 0.6266 GB, free: 42.81 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/0.5233, allocations: 178 kB / 0.6268 GB, free: 42.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.5235, allocations: 27.38 kB / 0.6268 GB, free: 42.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008588/0.5244, allocations: 73.09 kB / 0.6269 GB, free: 42.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/0.5248, allocations: 98.83 kB / 0.627 GB, free: 42.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.5249, allocations: 42.11 kB / 0.627 GB, free: 42.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009517/0.5258, allocations: 0.529 MB / 0.6276 GB, free: 42.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5258, allocations: 0 / 0.6276 GB, free: 42.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001864/0.5277, allocations: 479.2 kB / 0.628 GB, free: 42.26 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.0007584/0.5285, allocations: 467.9 kB / 0.6285 GB, free: 42.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003193/0.5317, allocations: 2.068 MB / 0.6305 GB, free: 40.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.5317, allocations: 1.25 kB / 0.6305 GB, free: 40.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.5338, allocations: 1.593 MB / 0.632 GB, free: 39.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.5355, allocations: 331.2 kB / 0.6324 GB, free: 39.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/0.5397, allocations: 2.996 MB / 0.6353 GB, free: 37.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.5402, allocations: 1.083 MB / 0.6363 GB, free: 36.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008314/0.5411, allocations: 207.8 kB / 0.6365 GB, free: 36.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.5413, allocations: 102.1 kB / 0.6366 GB, free: 36.68 MB / 462.1 MB Notification: Performance of SimCode: time 1.573e-06/0.5413, allocations: 4 kB / 0.6366 GB, free: 36.67 MB / 462.1 MB Notification: Performance of Templates: time 0.0297/0.5711, allocations: 22.97 MB / 0.6591 GB, free: 17.23 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