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: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001878/0.001878, 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.002715/0.002715, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.477/1.477, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7087/0.7087, allocations: 93.7 MB / 384.1 MB, free: 6.992 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 89.8 kB / 463.5 MB, free: 21.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1276, allocations: 68.26 MB / 0.5193 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04345/0.1711, allocations: 39.37 MB / 0.5577 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.1828, allocations: 8.685 MB / 0.5662 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.184, allocations: 39.75 kB / 0.5663 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.1856, allocations: 0.5238 MB / 0.5668 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003857/0.1895, allocations: 1.309 MB / 0.568 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.1922, allocations: 0.8947 MB / 0.5689 GB, free: 3.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.1951, allocations: 1.981 MB / 0.5709 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004452/0.1956, allocations: 264.2 kB / 0.5711 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.1979, allocations: 1.128 MB / 0.5722 GB, free: 0.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009501/0.1989, allocations: 0.7272 MB / 0.5729 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.1991, allocations: 96 kB / 0.573 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.2016, allocations: 0.8466 MB / 0.5738 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003272/0.202, allocations: 270.9 kB / 0.5741 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008564/0.2029, allocations: 0.6255 MB / 0.5747 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.2069, allocations: 1.788 MB / 0.5765 GB, free: 12.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2069, allocations: 0 / 0.5765 GB, free: 12.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2069, allocations: 0 / 0.5765 GB, free: 12.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.207, allocations: 0 / 0.5765 GB, free: 12.18 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.003733/0.2107, allocations: 1.659 MB / 0.5781 GB, free: 10.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.2108, allocations: 8.031 kB / 0.5781 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001954/0.211, allocations: 139.3 kB / 0.5782 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004575/0.2114, allocations: 147.2 kB / 0.5784 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.2128, allocations: 0.7728 MB / 0.5791 GB, free: 9.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.2129, allocations: 99.69 kB / 0.5792 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.213, allocations: 95.91 kB / 0.5793 GB, free: 9.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.2148, allocations: 0.9878 MB / 0.5803 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.2149, allocations: 4 kB / 0.5803 GB, free: 8.133 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/0.215, allocations: 40 kB / 0.5803 GB, free: 8.094 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.215, allocations: 20 kB / 0.5803 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.2168, allocations: 0.8899 MB / 0.5812 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006472/0.2232, allocations: 4.624 MB / 0.5857 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.2255, allocations: 1.011 MB / 0.5867 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008574/0.2263, allocations: 464 kB / 0.5871 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2176/0.4439, allocations: 2.977 MB / 0.59 GB, free: 68.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.444, allocations: 45.36 kB / 0.5901 GB, free: 68.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=99): time 2.815e-06/0.444, allocations: 0.6562 kB / 0.5901 GB, free: 68.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.009669/0.4537, allocations: 4.264 MB / 0.5943 GB, free: 66.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.4538, allocations: 88.64 kB / 0.5943 GB, free: 66.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.4549, allocations: 0.7672 MB / 0.5951 GB, free: 66.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/0.455, allocations: 47.86 kB / 0.5951 GB, free: 66.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.4553, allocations: 471.5 kB / 0.5956 GB, free: 65.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.4555, allocations: 395.4 kB / 0.596 GB, free: 65.42 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.4558, allocations: 185.4 kB / 0.5961 GB, free: 65.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.4559, allocations: 349.4 kB / 0.5965 GB, free: 65.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000752/0.4567, allocations: 384.1 kB / 0.5968 GB, free: 64.87 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008481/0.4575, allocations: 0.5421 MB / 0.5974 GB, free: 64.56 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.001841/0.4594, allocations: 1.058 MB / 0.5984 GB, free: 63.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4594, allocations: 1.969 kB / 0.5984 GB, free: 63.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002841/0.4622, allocations: 1.458 MB / 0.5998 GB, free: 63.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4623, allocations: 9.406 kB / 0.5998 GB, free: 63.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.4623, allocations: 4.281 kB / 0.5998 GB, free: 63.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.4634, allocations: 350.7 kB / 0.6002 GB, free: 63.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/0.4641, allocations: 192.4 kB / 0.6004 GB, free: 63.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007366/0.4715, allocations: 12.61 MB / 0.6127 GB, free: 50.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008858/0.4724, allocations: 40.81 kB / 0.6127 GB, free: 50.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.4725, allocations: 46.89 kB / 0.6128 GB, free: 50.92 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.000441/0.4729, allocations: 256.4 kB / 0.613 GB, free: 50.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.4731, allocations: 118.7 kB / 0.6131 GB, free: 50.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003496/0.4766, allocations: 1.601 MB / 0.6147 GB, free: 49.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.4767, allocations: 16.16 kB / 0.6147 GB, free: 49.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4767, allocations: 4.031 kB / 0.6147 GB, free: 49.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/0.4767, allocations: 13.5 kB / 0.6147 GB, free: 49.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004603/0.4813, allocations: 2.721 MB / 0.6174 GB, free: 48.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.4814, allocations: 3.5 kB / 0.6174 GB, free: 48.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007625/0.4821, allocations: 179.6 kB / 0.6175 GB, free: 48.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.4834, allocations: 356.1 kB / 0.6179 GB, free: 48.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.761e-05/0.4835, allocations: 38.36 kB / 0.6179 GB, free: 48.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007554/0.491, allocations: 12.61 MB / 0.6302 GB, free: 36.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4911, allocations: 1.156 kB / 0.6302 GB, free: 36.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00457/0.4956, allocations: 2.095 MB / 0.6323 GB, free: 35.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.496, allocations: 181.1 kB / 0.6325 GB, free: 34.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.4963, allocations: 27.09 kB / 0.6325 GB, free: 34.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000817/0.4971, allocations: 57.06 kB / 0.6325 GB, free: 34.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.4973, allocations: 97.84 kB / 0.6326 GB, free: 34.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.441e-05/0.4974, allocations: 41.08 kB / 0.6327 GB, free: 34.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006992/0.4981, allocations: 0.5359 MB / 0.6332 GB, free: 34.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4982, allocations: 0 / 0.6332 GB, free: 34.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001679/0.4998, allocations: 472.4 kB / 0.6336 GB, free: 34.58 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.00575/0.5056, allocations: 2.993 MB / 0.6366 GB, free: 32.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00422/0.5099, allocations: 2.11 MB / 0.6386 GB, free: 31.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/0.5099, allocations: 1.156 kB / 0.6386 GB, free: 31.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.5121, allocations: 1.596 MB / 0.6402 GB, free: 30.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.5141, allocations: 368.4 kB / 0.6405 GB, free: 29.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.5297, allocations: 10.38 MB / 0.6507 GB, free: 22.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.5303, allocations: 1.088 MB / 0.6517 GB, free: 21.81 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008444/0.5311, allocations: 196.5 kB / 0.6519 GB, free: 21.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/0.5316, allocations: 459.3 kB / 0.6524 GB, free: 21.17 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5317, allocations: 0 / 0.6524 GB, free: 21.17 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/0.64, allocations: 34.42 MB / 0.686 GB, free: 3.031 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.44, allocations: 5.875 kB / 0.686 GB, free: 3.027 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches