Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001256/0.001255, 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.00175/0.00175, allocations: 197.1 kB / 16.14 MB, free: 6.715 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.419/1.419, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8057/0.8057, allocations: 93.7 MB / 383.7 MB, free: 7.168 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 91.95 kB / 462.7 MB, free: 22.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1499, allocations: 68.26 MB / 0.5185 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04006/0.1901, allocations: 40.3 MB / 0.5579 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.2023, allocations: 8.877 MB / 0.5666 GB, free: 6.121 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.2042, allocations: 47.69 kB / 0.5666 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.2059, allocations: 465.4 kB / 0.567 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004299/0.2103, allocations: 1.2 MB / 0.5682 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.2129, allocations: 0.786 MB / 0.569 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003311/0.2162, allocations: 2.437 MB / 0.5714 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000477/0.2167, allocations: 241.4 kB / 0.5716 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.2194, allocations: 1.038 MB / 0.5726 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.2205, allocations: 0.7115 MB / 0.5733 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.2207, allocations: 60 kB / 0.5734 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.2235, allocations: 0.8073 MB / 0.5741 GB, free: 14.31 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.2238, allocations: 222.9 kB / 0.5744 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007547/0.2246, allocations: 0.5943 MB / 0.5749 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.2276, allocations: 1.725 MB / 0.5766 GB, free: 11.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2276, allocations: 0 / 0.5766 GB, free: 11.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2276, allocations: 0 / 0.5766 GB, free: 11.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.2277, allocations: 0 / 0.5766 GB, free: 11.77 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.003494/0.2312, allocations: 1.655 MB / 0.5782 GB, free: 10.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2312, allocations: 12.02 kB / 0.5783 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004187/0.2316, allocations: 147.2 kB / 0.5784 GB, free: 9.898 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.2329, allocations: 0.7769 MB / 0.5792 GB, free: 9.078 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.233, allocations: 95.7 kB / 0.5792 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.2332, allocations: 91.89 kB / 0.5793 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.2349, allocations: 0.9995 MB / 0.5803 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.235, allocations: 0 / 0.5803 GB, free: 7.852 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/0.2351, allocations: 36 kB / 0.5803 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.2351, allocations: 20 kB / 0.5804 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.2368, allocations: 0.8822 MB / 0.5812 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006271/0.2431, allocations: 4.624 MB / 0.5857 GB, free: 1.891 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.2452, allocations: 1.005 MB / 0.5867 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007716/0.246, allocations: 471.9 kB / 0.5872 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2839/0.5299, allocations: 2.982 MB / 0.5901 GB, free: 68.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5299, allocations: 44.61 kB / 0.5901 GB, free: 68.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=99): time 3.155e-06/0.53, allocations: 4.438 kB / 0.5901 GB, free: 68.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01052/0.5405, allocations: 4.25 MB / 0.5943 GB, free: 66.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.5406, allocations: 96.73 kB / 0.5944 GB, free: 66.47 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.5417, allocations: 0.759 MB / 0.5951 GB, free: 66.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.5419, allocations: 46.7 kB / 0.5952 GB, free: 66.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/0.5423, allocations: 478.8 kB / 0.5956 GB, free: 65.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.5427, allocations: 389.9 kB / 0.596 GB, free: 65.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/0.5431, allocations: 190.7 kB / 0.5962 GB, free: 65.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5432, allocations: 344 kB / 0.5965 GB, free: 65 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.5443, allocations: 384.1 kB / 0.5969 GB, free: 64.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.5455, allocations: 0.5412 MB / 0.5974 GB, free: 64.55 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.002591/0.5481, allocations: 1.058 MB / 0.5984 GB, free: 63.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.5481, allocations: 1.719 kB / 0.5984 GB, free: 63.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003558/0.5516, allocations: 1.467 MB / 0.5999 GB, free: 63.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.5517, allocations: 9.25 kB / 0.5999 GB, free: 63.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/0.5517, allocations: 5.5 kB / 0.5999 GB, free: 63.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.5529, allocations: 344 kB / 0.6002 GB, free: 63.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/0.5538, allocations: 201.7 kB / 0.6004 GB, free: 63.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007716/0.5615, allocations: 11.58 MB / 0.6117 GB, free: 51.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.5628, allocations: 59.64 kB / 0.6118 GB, free: 51.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.563, allocations: 44.48 kB / 0.6118 GB, free: 51.88 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.0005866/0.5636, allocations: 260.4 kB / 0.6121 GB, free: 51.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/0.5639, allocations: 112.1 kB / 0.6122 GB, free: 51.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.5678, allocations: 1.601 MB / 0.6137 GB, free: 50.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.5678, allocations: 10.94 kB / 0.6137 GB, free: 50.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.5679, allocations: 11.8 kB / 0.6137 GB, free: 50.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.5679, allocations: 8.344 kB / 0.6138 GB, free: 50.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005503/0.5734, allocations: 2.73 MB / 0.6164 GB, free: 49.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.5734, allocations: 1.625 kB / 0.6164 GB, free: 49.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008117/0.5743, allocations: 176.3 kB / 0.6166 GB, free: 49.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.5755, allocations: 364.9 kB / 0.6169 GB, free: 49.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.762e-05/0.5756, allocations: 37.5 kB / 0.617 GB, free: 49.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007646/0.5833, allocations: 11.6 MB / 0.6283 GB, free: 38.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5833, allocations: 7.062 kB / 0.6283 GB, free: 38.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004864/0.5882, allocations: 2.095 MB / 0.6304 GB, free: 37.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.5887, allocations: 180.4 kB / 0.6305 GB, free: 36.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.5888, allocations: 27.31 kB / 0.6305 GB, free: 36.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008345/0.5897, allocations: 68.92 kB / 0.6306 GB, free: 36.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/0.59, allocations: 96.95 kB / 0.6307 GB, free: 36.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.5901, allocations: 42.98 kB / 0.6307 GB, free: 36.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007449/0.5909, allocations: 0.5404 MB / 0.6313 GB, free: 36.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5909, allocations: 0 / 0.6313 GB, free: 36.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001941/0.5928, allocations: 473.5 kB / 0.6317 GB, free: 36.55 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.0007997/0.5936, allocations: 468.4 kB / 0.6322 GB, free: 36.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004036/0.5977, allocations: 2.068 MB / 0.6342 GB, free: 35.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.5977, allocations: 5.062 kB / 0.6342 GB, free: 35.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002628/0.6004, allocations: 1.591 MB / 0.6358 GB, free: 33.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/0.6031, allocations: 342.4 kB / 0.6361 GB, free: 33.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006498/0.6096, allocations: 3.006 MB / 0.639 GB, free: 31.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000986/0.6106, allocations: 1.085 MB / 0.6401 GB, free: 30.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001242/0.6119, allocations: 201 kB / 0.6403 GB, free: 30.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.6122, allocations: 101.5 kB / 0.6404 GB, free: 30.62 MB / 462.1 MB Notification: Performance of SimCode: time 1.573e-06/0.6122, allocations: 0 / 0.6404 GB, free: 30.62 MB / 462.1 MB Notification: Performance of Templates: time 0.03808/0.6503, allocations: 22.99 MB / 0.6628 GB, free: 11.03 MB / 462.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches