Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",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.001555/0.001555, allocations: 102.1 kB / 16.27 MB, free: 5.973 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.001758/0.001758, allocations: 188.6 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2241/0.2241, allocations: 43.52 MB / 313.9 MB, free: 0.5469 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 66.64 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1604, allocations: 57.79 MB / 440.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.05837/0.2188, allocations: 36.33 MB / 476.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.034/0.2528, allocations: 16.77 MB / 493.7 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.2542, allocations: 15.88 kB / 493.7 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.2561, allocations: 425.4 kB / 494.1 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01888/0.2752, allocations: 4.015 MB / 498.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01315/0.2884, allocations: 3.133 MB / 0.4895 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003287/0.2917, allocations: 1.794 MB / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.2935, allocations: 0.5363 MB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.2967, allocations: 0.7512 MB / 0.4926 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.2987, allocations: 0.576 MB / 0.4931 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004243/0.2991, allocations: 75.98 kB / 0.4932 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02235/0.3215, allocations: 7.29 MB / 0.5003 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007306/0.3223, allocations: 255.1 kB / 0.5005 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.3237, allocations: 418.2 kB / 0.5009 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01547/0.3391, allocations: 5.04 MB / 0.5059 GB, free: 9.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.3392, allocations: 0 / 0.5059 GB, free: 9.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.3393, allocations: 4 kB / 0.5059 GB, free: 9.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.794e-05/0.3393, allocations: 0 / 0.5059 GB, free: 9.219 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006344/0.3457, allocations: 1.606 MB / 0.5074 GB, free: 7.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001021/0.3458, allocations: 15.89 kB / 0.5075 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002005/0.346, allocations: 110.7 kB / 0.5076 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.3495, allocations: 367.6 kB / 0.5079 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.3507, allocations: 0.525 MB / 0.5084 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/0.351, allocations: 105.3 kB / 0.5085 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.3512, allocations: 71.86 kB / 0.5086 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/0.3546, allocations: 1.126 MB / 0.5097 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.3547, allocations: 3.984 kB / 0.5097 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.662e-05/0.3548, allocations: 27.94 kB / 0.5097 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.438e-05/0.3548, allocations: 33.31 kB / 0.5098 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/0.3582, allocations: 1.055 MB / 0.5108 GB, free: 4.02 MB / 398.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.01067/0.3689, allocations: 5.016 MB / 0.5157 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004356/0.3733, allocations: 0.9228 MB / 0.5166 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.3744, allocations: 377.9 kB / 0.5169 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3409/0.7152, allocations: 24.21 MB / 0.5406 GB, free: 84.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.428e-05/0.7154, allocations: 42.84 kB / 0.5406 GB, free: 84.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 1.34e-05/0.7154, allocations: 0 / 0.5406 GB, free: 84.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.009114/0.7245, allocations: 1.972 MB / 0.5426 GB, free: 84.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.7246, allocations: 116.8 kB / 0.5427 GB, free: 84.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.7258, allocations: 0.5892 MB / 0.5432 GB, free: 84.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002051/0.7261, allocations: 34.92 kB / 0.5433 GB, free: 84.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.7264, allocations: 319.5 kB / 0.5436 GB, free: 84.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.7266, allocations: 162.5 kB / 0.5437 GB, free: 84.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003743/0.727, allocations: 129.5 kB / 0.5439 GB, free: 84.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.7272, allocations: 369.6 kB / 0.5442 GB, free: 83.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008744/0.7281, allocations: 328.1 kB / 0.5445 GB, free: 83.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.7293, allocations: 487.4 kB / 0.545 GB, free: 83.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.7312, allocations: 0.74 MB / 0.5457 GB, free: 83.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.7312, allocations: 1.75 kB / 0.5457 GB, free: 83.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003419/0.7346, allocations: 1.053 MB / 0.5467 GB, free: 83.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.7347, allocations: 6.656 kB / 0.5467 GB, free: 83.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.7347, allocations: 4 kB / 0.5467 GB, free: 83.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.7363, allocations: 425.5 kB / 0.5472 GB, free: 82.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.737, allocations: 125.6 kB / 0.5473 GB, free: 82.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.7393, allocations: 1.63 MB / 0.5489 GB, free: 81.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006326/0.74, allocations: 83.56 kB / 0.5489 GB, free: 81.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.7401, allocations: 35.05 kB / 0.549 GB, free: 81.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.regularFlow[1],Volume.regularFlow[2],Sink.medium.phase,FlowSource.medium.phase,Volume.inFlow[2],Volume.inFlow[1],Volume.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003259/0.7404, allocations: 236.5 kB / 0.5492 GB, free: 81.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.7405, allocations: 62.12 kB / 0.5493 GB, free: 81.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/0.745, allocations: 3.254 MB / 0.5524 GB, free: 79.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/0.745, allocations: 51.8 kB / 0.5525 GB, free: 79.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.745, allocations: 3.938 kB / 0.5525 GB, free: 79.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.745, allocations: 3.656 kB / 0.5525 GB, free: 79.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.7473, allocations: 1.573 MB / 0.554 GB, free: 78.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/0.7474, allocations: 3.938 kB / 0.554 GB, free: 78.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.7478, allocations: 79 kB / 0.5541 GB, free: 78.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001724/0.7495, allocations: 0.8753 MB / 0.555 GB, free: 77.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/0.7496, allocations: 11.56 kB / 0.555 GB, free: 77.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/0.7525, allocations: 2.291 MB / 0.5572 GB, free: 76.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7525, allocations: 0 / 0.5572 GB, free: 76.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/0.7561, allocations: 2.276 MB / 0.5594 GB, free: 74.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/0.7565, allocations: 291 kB / 0.5597 GB, free: 74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.7567, allocations: 35.3 kB / 0.5598 GB, free: 73.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/0.7573, allocations: 39.95 kB / 0.5598 GB, free: 73.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.7577, allocations: 64.41 kB / 0.5599 GB, free: 73.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.7577, allocations: 27.98 kB / 0.5599 GB, free: 73.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007622/0.7585, allocations: 0.5146 MB / 0.5604 GB, free: 73.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7585, allocations: 0 / 0.5604 GB, free: 73.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004186/0.7627, allocations: 1.158 MB / 0.5615 GB, free: 72.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008748/0.7715, allocations: 3.799 MB / 0.5652 GB, free: 68.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003405/0.7749, allocations: 1.21 MB / 0.5664 GB, free: 67.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7749, allocations: 2.75 kB / 0.5664 GB, free: 67.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.7765, allocations: 0.8834 MB / 0.5673 GB, free: 66.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.7788, allocations: 393.8 kB / 0.5676 GB, free: 66.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.7933, allocations: 8.653 MB / 0.5761 GB, free: 57.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.794, allocations: 1.158 MB / 0.5772 GB, free: 56.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009769/0.795, allocations: 351.7 kB / 0.5776 GB, free: 55.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004598/0.7954, allocations: 407.3 kB / 0.5779 GB, free: 55.46 MB / 414.1 MB Notification: Performance of SimCode: time 2.144e-06/0.7954, allocations: 0 / 0.5779 GB, free: 55.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09171/0.8872, allocations: 61.09 MB / 0.6376 GB, free: 10.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/15.04, allocations: 8.906 kB / 0.6376 GB, free: 10.31 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestVolume/TestVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches