Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.001191/0.001191, allocations: 100.6 kB / 16.27 MB, free: 6.34 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.001087/0.001087, allocations: 187.9 kB / 17.19 MB, free: 5.957 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.405/1.405, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.21/0.21, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001873/0.001873, allocations: 69.55 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1038, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4107/0.5146, allocations: 196.4 MB / 0.6221 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.5289, allocations: 10.28 MB / 0.6322 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.5302, allocations: 23.81 kB / 0.6322 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.5317, allocations: 437.5 kB / 0.6326 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008318/0.54, allocations: 2.581 MB / 0.6351 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007347/0.5474, allocations: 2.638 MB / 0.6377 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002903/0.5503, allocations: 2.196 MB / 0.6398 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.5515, allocations: 0.5952 MB / 0.6404 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005447/0.557, allocations: 1.954 MB / 0.6423 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.5588, allocations: 0.8644 MB / 0.6432 GB, free: 9.262 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005265/0.5593, allocations: 96 kB / 0.6433 GB, free: 9.168 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01199/0.5713, allocations: 5.557 MB / 0.6487 GB, free: 3.602 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009732/0.5724, allocations: 423 kB / 0.6491 GB, free: 3.188 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.5738, allocations: 0.5446 MB / 0.6496 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.5854, allocations: 4.057 MB / 0.6536 GB, free: 14.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5854, allocations: 0 / 0.6536 GB, free: 14.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5855, allocations: 0 / 0.6536 GB, free: 14.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.424e-05/0.5855, allocations: 0 / 0.6536 GB, free: 14.57 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005548/0.5911, allocations: 1.797 MB / 0.6554 GB, free: 12.72 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5911, allocations: 11.89 kB / 0.6554 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000261/0.5914, allocations: 122.5 kB / 0.6555 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.5919, allocations: 114.8 kB / 0.6556 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.593, allocations: 0.5936 MB / 0.6562 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.5932, allocations: 122.5 kB / 0.6563 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.5933, allocations: 67.91 kB / 0.6564 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.5953, allocations: 1.17 MB / 0.6575 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.5954, allocations: 7.938 kB / 0.6575 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.5955, allocations: 28 kB / 0.6575 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.282e-05/0.5956, allocations: 61.95 kB / 0.6576 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.5976, allocations: 1.171 MB / 0.6587 GB, free: 9.148 MB / 478.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.006985/0.6046, allocations: 5.014 MB / 0.6636 GB, free: 3.801 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.6065, allocations: 0.8203 MB / 0.6644 GB, free: 2.977 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006997/0.6072, allocations: 426.2 kB / 0.6648 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/0.609, allocations: 1.896 MB / 0.6667 GB, free: 280 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.609, allocations: 47.06 kB / 0.6667 GB, free: 220 kB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 2.956e-06/0.609, allocations: 0 / 0.6667 GB, free: 220 kB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.01426/0.6233, allocations: 4.028 MB / 0.6707 GB, free: 12.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.6234, allocations: 115.5 kB / 0.6708 GB, free: 12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/0.6244, allocations: 0.6641 MB / 0.6714 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.6245, allocations: 41.7 kB / 0.6715 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.6248, allocations: 379.6 kB / 0.6718 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.6251, allocations: 295.8 kB / 0.6721 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.6255, allocations: 198.4 kB / 0.6723 GB, free: 10.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.6257, allocations: 394.7 kB / 0.6727 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.6268, allocations: 497.7 kB / 0.6731 GB, free: 9.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.6281, allocations: 0.7541 MB / 0.6739 GB, free: 8.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.6304, allocations: 1.285 MB / 0.6751 GB, free: 7.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.6304, allocations: 4 kB / 0.6751 GB, free: 7.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003586/0.634, allocations: 1.684 MB / 0.6768 GB, free: 5.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.634, allocations: 8 kB / 0.6768 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.6341, allocations: 8 kB / 0.6768 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007318/0.6414, allocations: 1.335 MB / 0.6781 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.6421, allocations: 164.5 kB / 0.6783 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.645, allocations: 1.542 MB / 0.6798 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.6461, allocations: 52.02 kB / 0.6798 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/0.6463, allocations: 59.97 kB / 0.6799 GB, free: 2.371 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0006704/0.647, allocations: 309.3 kB / 0.6802 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.6473, allocations: 86.97 kB / 0.6803 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003612/0.6509, allocations: 1.632 MB / 0.6818 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.651, allocations: 8 kB / 0.6819 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.651, allocations: 7.938 kB / 0.6819 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.651, allocations: 3.984 kB / 0.6819 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004847/0.6559, allocations: 2.56 MB / 0.6844 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.6559, allocations: 0 / 0.6844 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.6572, allocations: 267.8 kB / 0.6846 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.659, allocations: 372.4 kB / 0.685 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.581e-05/0.6591, allocations: 31.97 kB / 0.685 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/0.6617, allocations: 2.359 MB / 0.6873 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6617, allocations: 3.984 kB / 0.6873 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/0.6655, allocations: 2.018 MB / 0.6893 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005978/0.6662, allocations: 288 kB / 0.6896 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.6664, allocations: 27.94 kB / 0.6896 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/0.6674, allocations: 51.95 kB / 0.6896 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.6675, allocations: 64.91 kB / 0.6897 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.6677, allocations: 51.97 kB / 0.6897 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007167/0.6684, allocations: 0.499 MB / 0.6902 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6684, allocations: 0 / 0.6902 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00217/0.6706, allocations: 0.7026 MB / 0.6909 GB, free: 6.723 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007038/0.6776, allocations: 3.366 MB / 0.6942 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003896/0.6816, allocations: 1.445 MB / 0.6956 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.6816, allocations: 4 kB / 0.6956 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.6835, allocations: 0.7126 MB / 0.6963 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.6865, allocations: 0.5186 MB / 0.6968 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/0.7061, allocations: 10.08 MB / 0.7067 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007528/0.7069, allocations: 1.043 MB / 0.7077 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001375/0.7083, allocations: 311.9 kB / 0.708 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006497/0.709, allocations: 343.3 kB / 0.7083 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of SimCode: time 1.152e-06/0.709, allocations: 0 / 0.7083 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2641/0.9731, allocations: 45.19 MB / 0.7524 GB, free: 229.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.72, allocations: 1.406 kB / 0.7524 GB, free: 229.3 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches