Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.Reservoir,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_Reservoir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008242/0.0008242, allocations: 177 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.092/1.092, allocations: 205 MB / 221.2 MB, free: 1.832 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006507/0.0006507, allocations: 82.12 kB / 269.2 MB, free: 1.785 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.4585/0.4585, allocations: 90.52 MB / 407.6 MB, free: 15.1 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002534/0.0002534, allocations: 12 kB / 484.3 MB, free: 3.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08778, allocations: 65.81 MB / 0.5372 GB, free: 1.605 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.195/0.2828, allocations: 39.1 MB / 0.5754 GB, free: 5.992 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007976/0.2908, allocations: 8.602 MB / 0.5838 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006855/0.2915, allocations: 18.25 kB / 0.5838 GB, free: 15.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.2926, allocations: 450.5 kB / 0.5842 GB, free: 15.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.2951, allocations: 1.133 MB / 0.5853 GB, free: 14.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.2969, allocations: 0.7829 MB / 0.5861 GB, free: 14.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.2987, allocations: 2.272 MB / 0.5883 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.299, allocations: 215.2 kB / 0.5885 GB, free: 13.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.3001, allocations: 0.7569 MB / 0.5893 GB, free: 13.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.3007, allocations: 0.6379 MB / 0.5899 GB, free: 12.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.49e-05/0.3008, allocations: 45.06 kB / 0.5899 GB, free: 12.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.3026, allocations: 0.8166 MB / 0.5907 GB, free: 12.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.3028, allocations: 188 kB / 0.5909 GB, free: 12.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004096/0.3032, allocations: 0.5146 MB / 0.5914 GB, free: 12.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.3048, allocations: 1.606 MB / 0.593 GB, free: 11.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3048, allocations: 0 / 0.593 GB, free: 11.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3048, allocations: 1.25 kB / 0.593 GB, free: 11.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.3048, allocations: 0 / 0.593 GB, free: 11.06 MB / 410.7 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.002043/0.3069, allocations: 1.293 MB / 0.5943 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3069, allocations: 9.375 kB / 0.5943 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.307, allocations: 140.5 kB / 0.5944 GB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.3073, allocations: 124.8 kB / 0.5945 GB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.308, allocations: 0.5836 MB / 0.5951 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/0.3081, allocations: 93.36 kB / 0.5952 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.3082, allocations: 95.77 kB / 0.5953 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.3096, allocations: 1.004 MB / 0.5962 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3097, allocations: 4.656 kB / 0.5962 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/0.3097, allocations: 37.03 kB / 0.5963 GB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.3098, allocations: 20.34 kB / 0.5963 GB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.3112, allocations: 0.9073 MB / 0.5972 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00453/0.3157, allocations: 4.596 MB / 0.6017 GB, free: 4.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.3175, allocations: 1.084 MB / 0.6027 GB, free: 3.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006508/0.3181, allocations: 488.7 kB / 0.6032 GB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002751/0.3209, allocations: 3.001 MB / 0.6061 GB, free: 204 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3209, allocations: 56.5 kB / 0.6062 GB, free: 144 kB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 2.224e-06/0.3209, allocations: 0 / 0.6062 GB, free: 144 kB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.007815/0.3288, allocations: 4.311 MB / 0.6104 GB, free: 12.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.3288, allocations: 90.11 kB / 0.6105 GB, free: 12.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.3294, allocations: 0.5666 MB / 0.611 GB, free: 12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/0.3294, allocations: 49.7 kB / 0.6111 GB, free: 11.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.3297, allocations: 396.5 kB / 0.6115 GB, free: 11.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.3299, allocations: 394.2 kB / 0.6118 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.33, allocations: 20 kB / 0.6119 GB, free: 11.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3302, allocations: 402.7 kB / 0.6122 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007343/0.3309, allocations: 406.4 kB / 0.6126 GB, free: 10.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.3317, allocations: 0.5679 MB / 0.6132 GB, free: 9.723 MB / 426.7 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.00172/0.3335, allocations: 1.104 MB / 0.6143 GB, free: 8.547 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3335, allocations: 4 kB / 0.6143 GB, free: 8.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002761/0.3362, allocations: 1.497 MB / 0.6157 GB, free: 7.012 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3363, allocations: 8 kB / 0.6157 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.3363, allocations: 4 kB / 0.6157 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009922/0.3373, allocations: 355.9 kB / 0.6161 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.338, allocations: 203.7 kB / 0.6163 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00736/0.3453, allocations: 11.61 MB / 0.6276 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.346, allocations: 67.94 kB / 0.6277 GB, free: 9.684 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.586e-05/0.346, allocations: 43.98 kB / 0.6277 GB, free: 9.641 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (112): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000331/0.3464, allocations: 250.2 kB / 0.628 GB, free: 9.387 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.3465, allocations: 90.88 kB / 0.628 GB, free: 9.297 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.3496, allocations: 1.603 MB / 0.6296 GB, free: 7.652 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.3496, allocations: 12 kB / 0.6296 GB, free: 7.641 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3496, allocations: 8.062 kB / 0.6296 GB, free: 7.633 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.3496, allocations: 7.969 kB / 0.6296 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/0.3537, allocations: 2.767 MB / 0.6323 GB, free: 4.766 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.3538, allocations: 4 kB / 0.6323 GB, free: 4.762 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/0.3544, allocations: 183.8 kB / 0.6325 GB, free: 4.582 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000971/0.3554, allocations: 366.9 kB / 0.6329 GB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.478e-05/0.3555, allocations: 43.91 kB / 0.6329 GB, free: 4.156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007318/0.3628, allocations: 11.62 MB / 0.6443 GB, free: 7.473 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3628, allocations: 8 kB / 0.6443 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/0.3664, allocations: 2.188 MB / 0.6464 GB, free: 5.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.3665, allocations: 167.8 kB / 0.6466 GB, free: 5.047 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.3666, allocations: 28 kB / 0.6466 GB, free: 5.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/0.3673, allocations: 83.88 kB / 0.6467 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.3674, allocations: 96.8 kB / 0.6468 GB, free: 4.844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.3675, allocations: 48.16 kB / 0.6468 GB, free: 4.797 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003427/0.3679, allocations: 395.1 kB / 0.6472 GB, free: 4.418 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3679, allocations: 0 / 0.6472 GB, free: 4.418 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001241/0.3691, allocations: 463.8 kB / 0.6476 GB, free: 3.965 MB / 458.7 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 (96): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004191/0.3733, allocations: 3.101 MB / 0.6507 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002666/0.376, allocations: 2.135 MB / 0.6527 GB, free: 14.56 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.376, allocations: 0 / 0.6527 GB, free: 14.56 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.3779, allocations: 1.637 MB / 0.6543 GB, free: 12.81 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.3791, allocations: 290.5 kB / 0.6546 GB, free: 12.53 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.3917, allocations: 9.686 MB / 0.6641 GB, free: 2.488 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.3922, allocations: 1.032 MB / 0.6651 GB, free: 1.422 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006346/0.3928, allocations: 179 kB / 0.6652 GB, free: 1.242 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.3933, allocations: 391.3 kB / 0.6656 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of SimCode: time 4.3e-07/0.3933, allocations: 0 / 0.6656 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0385/0.4318, allocations: 29.96 MB / 0.6949 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.432, allocations: 245.4 kB / 0.6951 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/3.11, allocations: 0 / 0.6951 GB, free: 2.793 MB / 0.4948 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_Reservoir_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_Reservoir.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.Reservoir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches