Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",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.001206/0.001206, allocations: 111.7 kB / 17.78 MB, free: 5.281 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.001183/0.001183, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2251/0.2251, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3571, allocations: 60.83 MB / 0.5184 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0177/0.3749, allocations: 17.61 MB / 0.5356 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009563/0.3845, allocations: 6.999 MB / 0.5425 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.3856, allocations: 21.72 kB / 0.5425 GB, free: 496 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.3869, allocations: 377.2 kB / 0.5428 GB, free: 168 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.3887, allocations: 0.6889 MB / 0.5435 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.3926, allocations: 1.33 MB / 0.5448 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00344/0.396, allocations: 2.512 MB / 0.5473 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.3977, allocations: 0.6691 MB / 0.5479 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.401, allocations: 1.046 MB / 0.5489 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.4031, allocations: 0.7496 MB / 0.5497 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004861/0.4036, allocations: 90.86 kB / 0.5498 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.4056, allocations: 0.5339 MB / 0.5503 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006163/0.4063, allocations: 363.1 kB / 0.5506 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.4074, allocations: 0.5134 MB / 0.5511 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.4106, allocations: 1.549 MB / 0.5526 GB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4106, allocations: 0 / 0.5526 GB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4107, allocations: 4 kB / 0.5526 GB, free: 9.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.889e-05/0.4107, allocations: 0 / 0.5526 GB, free: 9.016 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003635/0.4144, allocations: 1.312 MB / 0.5539 GB, free: 7.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.4144, allocations: 12.03 kB / 0.5539 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003404/0.4148, allocations: 139.2 kB / 0.5541 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006556/0.4154, allocations: 128.3 kB / 0.5542 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.4168, allocations: 0.6188 MB / 0.5548 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.417, allocations: 248.8 kB / 0.555 GB, free: 6.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.4172, allocations: 88.11 kB / 0.5551 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.4193, allocations: 1.302 MB / 0.5564 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.4193, allocations: 7.938 kB / 0.5564 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.4195, allocations: 47.97 kB / 0.5564 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.73e-05/0.4196, allocations: 45.19 kB / 0.5565 GB, free: 4.809 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.4212, allocations: 0.9611 MB / 0.5574 GB, free: 3.844 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00726/0.4285, allocations: 7.106 MB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/0.4291, allocations: 308.2 kB / 0.5647 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.4293, allocations: 169.4 kB / 0.5648 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003387/0.4327, allocations: 2.83 MB / 0.5676 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.4328, allocations: 38.8 kB / 0.5676 GB, free: 8.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.4328, allocations: 0 / 0.5676 GB, free: 8.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.002603/0.4354, allocations: 1.111 MB / 0.5687 GB, free: 7.246 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4355, allocations: 59.41 kB / 0.5688 GB, free: 7.176 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.4366, allocations: 0.8798 MB / 0.5696 GB, free: 6.289 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.4367, allocations: 33.7 kB / 0.5696 GB, free: 6.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.4371, allocations: 0.5921 MB / 0.5702 GB, free: 5.648 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.4372, allocations: 138.9 kB / 0.5704 GB, free: 5.512 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/0.4375, allocations: 242.7 kB / 0.5706 GB, free: 5.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4377, allocations: 394.7 kB / 0.571 GB, free: 4.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.4381, allocations: 250.5 kB / 0.5712 GB, free: 4.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008903/0.439, allocations: 0.9622 MB / 0.5721 GB, free: 3.309 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.4405, allocations: 1.323 MB / 0.5734 GB, free: 1.625 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-05/0.4405, allocations: 8 kB / 0.5734 GB, free: 1.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001987/0.4425, allocations: 1.204 MB / 0.5746 GB, free: 416 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.4426, allocations: 16.19 kB / 0.5746 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.464e-05/0.4426, allocations: 28 kB / 0.5747 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.446e-05/0.4427, allocations: 39.98 kB / 0.5747 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/0.4434, allocations: 275.5 kB / 0.575 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.552e-05/0.4435, allocations: 51.78 kB / 0.575 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007881/0.4443, allocations: 59.94 kB / 0.5751 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.4444, allocations: 72 kB / 0.5751 GB, free: 15.87 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004514/0.4449, allocations: 333 kB / 0.5755 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.4451, allocations: 95.44 kB / 0.5755 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009342/0.4461, allocations: 482.5 kB / 0.576 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.4461, allocations: 7.984 kB / 0.576 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4461, allocations: 0 / 0.576 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4461, allocations: 4 kB / 0.576 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.448, allocations: 1.234 MB / 0.5772 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.4481, allocations: 7.875 kB / 0.5772 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.4484, allocations: 72.09 kB / 0.5773 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.4484, allocations: 4 kB / 0.5773 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.4484, allocations: 15.98 kB / 0.5773 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.4484, allocations: 3.938 kB / 0.5773 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4484, allocations: 4 kB / 0.5773 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/0.4494, allocations: 0.6533 MB / 0.578 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.4498, allocations: 212.3 kB / 0.5782 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.4499, allocations: 11.95 kB / 0.5782 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.4504, allocations: 19.98 kB / 0.5782 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.4504, allocations: 24.03 kB / 0.5782 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/0.4505, allocations: 23.98 kB / 0.5782 GB, free: 12.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000785/0.4513, allocations: 0.597 MB / 0.5788 GB, free: 11.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4513, allocations: 0 / 0.5788 GB, free: 11.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001156/0.4524, allocations: 299.7 kB / 0.5791 GB, free: 11.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002052/0.4545, allocations: 1.431 MB / 0.5805 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.4557, allocations: 0.638 MB / 0.5811 GB, free: 9.512 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4558, allocations: 0 / 0.5811 GB, free: 9.512 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.456, allocations: 148.4 kB / 0.5813 GB, free: 9.367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.458, allocations: 423.1 kB / 0.5817 GB, free: 8.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.4687, allocations: 8.024 MB / 0.5895 GB, free: 56 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007027/0.4695, allocations: 0.9856 MB / 0.5905 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001067/0.4706, allocations: 327.9 kB / 0.5908 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/0.471, allocations: 295.3 kB / 0.5911 GB, free: 14.43 MB / 462.1 MB Notification: Performance of SimCode: time 1.472e-06/0.471, allocations: 0 / 0.5911 GB, free: 14.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05289/0.5239, allocations: 24.72 MB / 0.6152 GB, free: 5.965 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.195/9.719, allocations: 14.3 kB / 0.6152 GB, free: 5.953 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches