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.001657/0.001657, allocations: 108 kB / 15.61 MB, free: 152 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.001869/0.00187, allocations: 196.3 kB / 16.53 MB, free: 6.699 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 / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7077/0.7077, allocations: 93.7 MB / 384.1 MB, free: 6.965 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003781/0.003782, allocations: 78.56 kB / 463.5 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1434, allocations: 68.26 MB / 0.5193 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04324/0.1867, allocations: 39.38 MB / 0.5577 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.1982, allocations: 8.678 MB / 0.5662 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.1996, allocations: 43.75 kB / 0.5663 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.2011, allocations: 0.5199 MB / 0.5668 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003616/0.2048, allocations: 1.312 MB / 0.5681 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.2072, allocations: 0.8954 MB / 0.5689 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002651/0.2099, allocations: 1.981 MB / 0.5709 GB, free: 1.914 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.2103, allocations: 260.2 kB / 0.5711 GB, free: 1.652 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.2125, allocations: 1.124 MB / 0.5722 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009224/0.2134, allocations: 0.7272 MB / 0.5729 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.2136, allocations: 96 kB / 0.573 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.2158, allocations: 0.8504 MB / 0.5738 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.2161, allocations: 262.8 kB / 0.5741 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006544/0.2168, allocations: 0.6334 MB / 0.5747 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.2196, allocations: 1.788 MB / 0.5765 GB, free: 12.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2196, allocations: 0 / 0.5765 GB, free: 12.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2196, allocations: 0 / 0.5765 GB, free: 12.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.2196, allocations: 0 / 0.5765 GB, free: 12.16 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.003227/0.2229, allocations: 1.659 MB / 0.5781 GB, free: 10.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.2229, allocations: 8.031 kB / 0.5781 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.2231, allocations: 131.4 kB / 0.5782 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.2235, allocations: 155.2 kB / 0.5784 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.2247, allocations: 0.7767 MB / 0.5791 GB, free: 9.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.2249, allocations: 91.7 kB / 0.5792 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.225, allocations: 95.89 kB / 0.5793 GB, free: 9.141 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.2268, allocations: 0.9956 MB / 0.5803 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2268, allocations: 0 / 0.5803 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.301e-05/0.2269, allocations: 40 kB / 0.5803 GB, free: 8.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.2269, allocations: 20 kB / 0.5803 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.2288, allocations: 0.89 MB / 0.5812 GB, free: 7.164 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006115/0.2349, allocations: 4.624 MB / 0.5857 GB, free: 2.141 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.2371, allocations: 1.021 MB / 0.5867 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008299/0.2379, allocations: 460 kB / 0.5871 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2349/0.4728, allocations: 2.98 MB / 0.5901 GB, free: 68.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.4728, allocations: 48.86 kB / 0.5901 GB, free: 68.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=99): time 2.986e-06/0.4729, allocations: 0 / 0.5901 GB, free: 68.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.009621/0.4825, allocations: 4.25 MB / 0.5942 GB, free: 66.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.4826, allocations: 93.52 kB / 0.5943 GB, free: 66.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.4836, allocations: 0.764 MB / 0.5951 GB, free: 65.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.926e-05/0.4837, allocations: 50.7 kB / 0.5951 GB, free: 65.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.484, allocations: 480.3 kB / 0.5956 GB, free: 65.53 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.4843, allocations: 390.7 kB / 0.596 GB, free: 65.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.4846, allocations: 187.7 kB / 0.5961 GB, free: 65.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.4847, allocations: 344.4 kB / 0.5965 GB, free: 64.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008056/0.4855, allocations: 378.7 kB / 0.5968 GB, free: 64.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009199/0.4864, allocations: 0.5491 MB / 0.5974 GB, free: 64.37 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.001935/0.4883, allocations: 1.056 MB / 0.5984 GB, free: 63.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4884, allocations: 0.9688 kB / 0.5984 GB, free: 63.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002955/0.4913, allocations: 1.455 MB / 0.5998 GB, free: 63.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4914, allocations: 8.812 kB / 0.5998 GB, free: 63.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.4914, allocations: 4.031 kB / 0.5998 GB, free: 63.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.4924, allocations: 348.7 kB / 0.6002 GB, free: 62.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.4931, allocations: 198.3 kB / 0.6004 GB, free: 62.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006758/0.4999, allocations: 12.6 MB / 0.6127 GB, free: 50.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/0.5007, allocations: 41.25 kB / 0.6127 GB, free: 50.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.3e-05/0.5008, allocations: 48.38 kB / 0.6127 GB, free: 50.73 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.0004097/0.5012, allocations: 265.7 kB / 0.613 GB, free: 50.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.5014, allocations: 117 kB / 0.6131 GB, free: 50.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.5048, allocations: 1.602 MB / 0.6147 GB, free: 49.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.5048, allocations: 10.19 kB / 0.6147 GB, free: 49.74 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5048, allocations: 4.969 kB / 0.6147 GB, free: 49.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.5049, allocations: 9.797 kB / 0.6147 GB, free: 49.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004366/0.5092, allocations: 2.728 MB / 0.6174 GB, free: 48.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.5093, allocations: 1.812 kB / 0.6174 GB, free: 48.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/0.51, allocations: 176.1 kB / 0.6175 GB, free: 48.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.5111, allocations: 359.5 kB / 0.6179 GB, free: 48.24 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.371e-05/0.5111, allocations: 33.42 kB / 0.6179 GB, free: 48.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007083/0.5182, allocations: 12.62 MB / 0.6302 GB, free: 35.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5183, allocations: 3.938 kB / 0.6302 GB, free: 35.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004411/0.5227, allocations: 2.098 MB / 0.6323 GB, free: 34.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.523, allocations: 172.2 kB / 0.6324 GB, free: 34.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.5232, allocations: 38.8 kB / 0.6325 GB, free: 34.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007296/0.5239, allocations: 50.44 kB / 0.6325 GB, free: 34.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.5242, allocations: 93.05 kB / 0.6326 GB, free: 34.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.369e-05/0.5243, allocations: 46.44 kB / 0.6327 GB, free: 34.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00066/0.525, allocations: 0.5353 MB / 0.6332 GB, free: 34.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.525, allocations: 1.125 kB / 0.6332 GB, free: 34.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001641/0.5266, allocations: 464.1 kB / 0.6336 GB, free: 34.41 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.004585/0.5312, allocations: 3.001 MB / 0.6366 GB, free: 32.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003467/0.5347, allocations: 2.101 MB / 0.6386 GB, free: 31.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5347, allocations: 5.844 kB / 0.6386 GB, free: 31.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.5367, allocations: 1.595 MB / 0.6402 GB, free: 29.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.5384, allocations: 375.5 kB / 0.6405 GB, free: 29.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.5521, allocations: 10.37 MB / 0.6507 GB, free: 22.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.5526, allocations: 1.084 MB / 0.6517 GB, free: 21.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008149/0.5534, allocations: 204.4 kB / 0.6519 GB, free: 21.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004704/0.5539, allocations: 467.2 kB / 0.6524 GB, free: 21.04 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5539, allocations: 0 / 0.6524 GB, free: 21.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08285/0.6367, allocations: 34.42 MB / 0.686 GB, free: 2.906 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.27, allocations: 2.109 kB / 0.686 GB, free: 2.906 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_Reservoir.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches