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.001214/0.001214, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.00123/0.00123, allocations: 183 kB / 18.72 MB, free: 4.332 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.396/1.396, 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.2237/0.2237, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 67.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3387, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02131/0.36, allocations: 17.62 MB / 0.5356 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009907/0.37, allocations: 7.007 MB / 0.5425 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009994/0.371, allocations: 22.31 kB / 0.5425 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.3722, allocations: 372.5 kB / 0.5428 GB, free: 184 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.3737, allocations: 0.6763 MB / 0.5435 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003587/0.3773, allocations: 1.317 MB / 0.5448 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.3809, allocations: 2.503 MB / 0.5472 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.382, allocations: 0.6806 MB / 0.5479 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.3839, allocations: 1.028 MB / 0.5489 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.385, allocations: 0.754 MB / 0.5496 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.3852, allocations: 87.5 kB / 0.5497 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.3867, allocations: 0.5362 MB / 0.5502 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003892/0.3871, allocations: 367 kB / 0.5506 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005977/0.3877, allocations: 0.5173 MB / 0.5511 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.3898, allocations: 1.549 MB / 0.5526 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3898, allocations: 0 / 0.5526 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3898, allocations: 0 / 0.5526 GB, free: 9.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.3899, allocations: 0 / 0.5526 GB, free: 9.012 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.002475/0.3923, allocations: 1.305 MB / 0.5539 GB, free: 7.652 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3924, allocations: 12.03 kB / 0.5539 GB, free: 7.641 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.3926, allocations: 143.2 kB / 0.554 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004568/0.393, allocations: 124.3 kB / 0.5541 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009528/0.394, allocations: 0.6266 MB / 0.5548 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.3942, allocations: 248.8 kB / 0.555 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.3944, allocations: 80.12 kB / 0.5551 GB, free: 6.348 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.3963, allocations: 1.314 MB / 0.5564 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.3963, allocations: 7.938 kB / 0.5564 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.3964, allocations: 36 kB / 0.5564 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.214e-05/0.3965, allocations: 41.31 kB / 0.5564 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.3981, allocations: 0.961 MB / 0.5574 GB, free: 3.852 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.006964/0.4051, allocations: 7.102 MB / 0.5643 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.4056, allocations: 320.1 kB / 0.5646 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.4059, allocations: 173.4 kB / 0.5648 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002749/0.4087, allocations: 2.819 MB / 0.5675 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.4087, allocations: 38.8 kB / 0.5676 GB, free: 8.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.4087, allocations: 4 kB / 0.5676 GB, free: 8.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.002289/0.411, allocations: 1.119 MB / 0.5687 GB, free: 7.242 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.4111, allocations: 55.41 kB / 0.5687 GB, free: 7.176 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.4121, allocations: 0.8759 MB / 0.5696 GB, free: 6.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.4122, allocations: 33.7 kB / 0.5696 GB, free: 6.254 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.4127, allocations: 0.5921 MB / 0.5702 GB, free: 5.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.4128, allocations: 146.9 kB / 0.5703 GB, free: 5.508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.4131, allocations: 234.7 kB / 0.5706 GB, free: 5.273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.4133, allocations: 402.7 kB / 0.5709 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.4137, allocations: 250.5 kB / 0.5712 GB, free: 4.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009761/0.4147, allocations: 0.9622 MB / 0.5721 GB, free: 3.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.4162, allocations: 1.323 MB / 0.5734 GB, free: 1.621 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.4162, allocations: 8 kB / 0.5734 GB, free: 1.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001825/0.418, allocations: 1.212 MB / 0.5746 GB, free: 404 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.4181, allocations: 16 kB / 0.5746 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/0.4181, allocations: 28 kB / 0.5746 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.484e-05/0.4182, allocations: 32 kB / 0.5747 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007767/0.419, allocations: 279.4 kB / 0.5749 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.813e-05/0.419, allocations: 51.84 kB / 0.575 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006336/0.4197, allocations: 51.95 kB / 0.575 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.674e-05/0.4198, allocations: 79.94 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.0004286/0.4202, allocations: 333.1 kB / 0.5754 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.4204, allocations: 95.38 kB / 0.5755 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008702/0.4212, allocations: 475.2 kB / 0.576 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.4213, allocations: 4 kB / 0.576 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4213, allocations: 4 kB / 0.576 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4213, allocations: 4 kB / 0.576 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.423, allocations: 1.234 MB / 0.5772 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.4231, allocations: 12.12 kB / 0.5772 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.4233, allocations: 71.89 kB / 0.5773 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.4234, allocations: 4 kB / 0.5773 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.4234, allocations: 8 kB / 0.5773 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.4234, allocations: 4 kB / 0.5773 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4234, allocations: 0 / 0.5773 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009543/0.4244, allocations: 0.6572 MB / 0.5779 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.4246, allocations: 208.4 kB / 0.5781 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.4248, allocations: 15.95 kB / 0.5781 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.4251, allocations: 15.98 kB / 0.5782 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.4252, allocations: 31.97 kB / 0.5782 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.714e-05/0.4253, allocations: 23.98 kB / 0.5782 GB, free: 12.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007713/0.426, allocations: 0.593 MB / 0.5788 GB, free: 11.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.426, allocations: 0 / 0.5788 GB, free: 11.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001149/0.4272, 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.001873/0.4291, allocations: 1.433 MB / 0.5805 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.4302, allocations: 0.6345 MB / 0.5811 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.4302, allocations: 4 kB / 0.5811 GB, free: 9.512 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.4305, allocations: 147.9 kB / 0.5812 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.001837/0.4323, allocations: 414.9 kB / 0.5816 GB, free: 8.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.4424, allocations: 8.025 MB / 0.5895 GB, free: 64 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/0.4431, allocations: 1.005 MB / 0.5905 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008617/0.4439, allocations: 319.3 kB / 0.5908 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.4443, allocations: 299.3 kB / 0.591 GB, free: 14.43 MB / 462.1 MB Notification: Performance of SimCode: time 2.645e-06/0.4443, allocations: 0 / 0.591 GB, free: 14.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05797/0.5023, allocations: 24.71 MB / 0.6152 GB, free: 5.969 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.653/10.16, allocations: 11.73 kB / 0.6152 GB, free: 5.957 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