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.001731/0.001731, allocations: 105.8 kB / 16.41 MB, free: 6.512 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.00202/0.00202, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.208/0.208, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 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.002136/0.002136, allocations: 73.45 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1106, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03933/0.1499, allocations: 36.33 MB / 0.5229 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2335/0.3834, allocations: 16.75 MB / 0.5392 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006812/0.3842, allocations: 17.5 kB / 0.5392 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.3854, allocations: 425.9 kB / 0.5397 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.3958, allocations: 4.02 MB / 0.5436 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007924/0.4037, allocations: 3.131 MB / 0.5466 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002397/0.4061, allocations: 1.797 MB / 0.5484 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/0.4069, allocations: 0.5331 MB / 0.5489 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.4082, allocations: 0.7462 MB / 0.5496 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007123/0.409, allocations: 0.5792 MB / 0.5502 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.4091, allocations: 72.38 kB / 0.5503 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01463/0.4237, allocations: 7.46 MB / 0.5576 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.4241, allocations: 240.5 kB / 0.5578 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005768/0.4247, allocations: 422.4 kB / 0.5582 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.4353, allocations: 5.064 MB / 0.5631 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4353, allocations: 0 / 0.5631 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4353, allocations: 3.938 kB / 0.5631 GB, free: 15.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.4353, allocations: 0 / 0.5631 GB, free: 15.34 MB / 430.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.00487/0.4402, allocations: 1.646 MB / 0.5648 GB, free: 14.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4403, allocations: 19.14 kB / 0.5648 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001352/0.4404, allocations: 110 kB / 0.5649 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/0.4432, allocations: 368.3 kB / 0.5652 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008967/0.4441, allocations: 0.5492 MB / 0.5658 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.4442, allocations: 116.6 kB / 0.5659 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.272e-05/0.4443, allocations: 57.78 kB / 0.5659 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.4469, allocations: 1.126 MB / 0.567 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.4469, allocations: 5.594 kB / 0.567 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/0.447, allocations: 31.19 kB / 0.5671 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.705e-05/0.4471, allocations: 35.7 kB / 0.5671 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.4497, allocations: 1.051 MB / 0.5681 GB, free: 12.13 MB / 430.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.006785/0.4565, allocations: 5.001 MB / 0.573 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.4592, allocations: 0.9257 MB / 0.5739 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007509/0.4599, allocations: 380.5 kB / 0.5743 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05114/0.5111, allocations: 24.32 MB / 0.598 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.5112, allocations: 43 kB / 0.5981 GB, free: 13.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 2.635e-06/0.5112, allocations: 0 / 0.5981 GB, free: 13.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=47): time 0.006892/0.5181, allocations: 1.983 MB / 0.6 GB, free: 11.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.5182, allocations: 107.2 kB / 0.6001 GB, free: 11.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007525/0.519, allocations: 0.5887 MB / 0.6007 GB, free: 11.01 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.893e-05/0.519, allocations: 37.7 kB / 0.6007 GB, free: 10.97 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.5193, allocations: 335 kB / 0.601 GB, free: 10.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.5195, allocations: 162.4 kB / 0.6012 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.5197, allocations: 130.3 kB / 0.6013 GB, free: 10.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5199, allocations: 374.8 kB / 0.6017 GB, free: 9.977 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.5206, allocations: 321.1 kB / 0.602 GB, free: 9.664 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008366/0.5214, allocations: 489.6 kB / 0.6024 GB, free: 9.121 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.5229, allocations: 0.7378 MB / 0.6032 GB, free: 8.324 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.5229, allocations: 4.875 kB / 0.6032 GB, free: 8.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00226/0.5252, allocations: 1.048 MB / 0.6042 GB, free: 7.262 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5252, allocations: 15.97 kB / 0.6042 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.5252, allocations: 8 kB / 0.6042 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.5264, allocations: 421.3 kB / 0.6046 GB, free: 6.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.5269, allocations: 115.8 kB / 0.6047 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.5288, allocations: 1.639 MB / 0.6063 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/0.5294, allocations: 88.3 kB / 0.6064 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/0.5294, allocations: 39.92 kB / 0.6064 GB, free: 4.891 MB / 462.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.0003596/0.5298, allocations: 229.7 kB / 0.6067 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.53, allocations: 71.64 kB / 0.6067 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/0.5345, allocations: 3.251 MB / 0.6099 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.634e-05/0.5345, allocations: 39.94 kB / 0.6099 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5345, allocations: 3.938 kB / 0.61 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.5346, allocations: 3.984 kB / 0.61 GB, free: 1.289 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.5363, allocations: 1.571 MB / 0.6115 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5363, allocations: 0 / 0.6115 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.5367, allocations: 79.94 kB / 0.6116 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.5381, allocations: 0.8698 MB / 0.6124 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.5382, allocations: 16 kB / 0.6124 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/0.5408, allocations: 2.299 MB / 0.6147 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.5408, allocations: 7.875 kB / 0.6147 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003394/0.5442, allocations: 2.27 MB / 0.6169 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/0.5446, allocations: 295.7 kB / 0.6172 GB, free: 9.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5448, allocations: 31.77 kB / 0.6172 GB, free: 9.719 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.5453, allocations: 43.95 kB / 0.6173 GB, free: 9.676 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.5454, allocations: 64.47 kB / 0.6173 GB, free: 9.613 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/0.5455, allocations: 27.92 kB / 0.6173 GB, free: 9.586 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006807/0.5462, allocations: 0.5146 MB / 0.6178 GB, free: 9.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5462, allocations: 3.938 kB / 0.6179 GB, free: 9.066 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003805/0.55, allocations: 1.173 MB / 0.619 GB, free: 7.891 MB / 478.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.00986/0.5599, allocations: 3.822 MB / 0.6227 GB, free: 4.156 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.5626, allocations: 1.129 MB / 0.6238 GB, free: 3.023 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5626, allocations: 1.188 kB / 0.6238 GB, free: 3.023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.5642, allocations: 0.8809 MB / 0.6247 GB, free: 2.145 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.5661, allocations: 370.2 kB / 0.625 GB, free: 1.785 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.5809, allocations: 8.451 MB / 0.6333 GB, free: 9.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007607/0.5817, allocations: 1.154 MB / 0.6344 GB, free: 7.926 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007327/0.5824, allocations: 361 kB / 0.6348 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004738/0.5829, allocations: 411.3 kB / 0.6352 GB, free: 7.172 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5829, allocations: 0 / 0.6352 GB, free: 7.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/0.6892, allocations: 61.27 MB / 0.695 GB, free: 9.824 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/16.66, allocations: 17.02 kB / 0.695 GB, free: 9.809 MB / 0.545 GB (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