Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_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.001081/0.001081, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001104/0.001104, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.31/1.31, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2037/0.2037, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.83 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.115, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3921/0.5071, allocations: 190.5 MB / 0.6444 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009299/0.5165, allocations: 7.403 MB / 0.6517 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006853/0.5172, allocations: 15.88 kB / 0.6517 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.5185, allocations: 433.5 kB / 0.6521 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005863/0.5244, allocations: 2.358 MB / 0.6544 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005679/0.5301, allocations: 2.284 MB / 0.6566 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.5327, allocations: 2.192 MB / 0.6588 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009969/0.5337, allocations: 0.5954 MB / 0.6593 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.5375, allocations: 1.799 MB / 0.6611 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.5391, allocations: 0.8606 MB / 0.6619 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003578/0.5395, allocations: 96 kB / 0.662 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009188/0.5487, allocations: 5.139 MB / 0.667 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008072/0.5495, allocations: 430.9 kB / 0.6675 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.5508, allocations: 0.5329 MB / 0.668 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007849/0.5586, allocations: 3.773 MB / 0.6717 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5587, allocations: 0 / 0.6717 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5587, allocations: 0 / 0.6717 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.799e-05/0.5587, allocations: 0 / 0.6717 GB, free: 5.984 MB / 0.4981 GB 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.004305/0.563, allocations: 1.711 MB / 0.6733 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.5631, allocations: 8.031 kB / 0.6733 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/0.5633, allocations: 134.5 kB / 0.6735 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004575/0.5638, allocations: 114.8 kB / 0.6736 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009362/0.5647, allocations: 0.5897 MB / 0.6742 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.5648, allocations: 113.4 kB / 0.6743 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.565, allocations: 75.98 kB / 0.6743 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.5669, allocations: 1.158 MB / 0.6755 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.5669, allocations: 4 kB / 0.6755 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.567, allocations: 35.98 kB / 0.6755 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.682e-05/0.5671, allocations: 69.78 kB / 0.6756 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.5691, allocations: 1.159 MB / 0.6767 GB, free: 0.6562 MB / 0.4981 GB 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.00692/0.576, allocations: 4.982 MB / 0.6816 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.5777, allocations: 0.8227 MB / 0.6824 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/0.5784, allocations: 422.3 kB / 0.6828 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/0.5797, allocations: 1.619 MB / 0.6844 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.5797, allocations: 55.09 kB / 0.6844 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/0.5798, allocations: 3.938 kB / 0.6844 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01401/0.5938, allocations: 4 MB / 0.6883 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.5939, allocations: 111.5 kB / 0.6884 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009003/0.5948, allocations: 0.6641 MB / 0.6891 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.5949, allocations: 41.7 kB / 0.6891 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.5952, allocations: 383.5 kB / 0.6895 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.5955, allocations: 291.9 kB / 0.6898 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.5958, allocations: 202.4 kB / 0.6899 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.596, allocations: 390.8 kB / 0.6903 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009904/0.597, allocations: 489.7 kB / 0.6908 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.5982, allocations: 0.7601 MB / 0.6915 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/0.6004, allocations: 1.281 MB / 0.6928 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.6004, allocations: 7.938 kB / 0.6928 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003428/0.6039, allocations: 1.673 MB / 0.6944 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.6039, allocations: 11.94 kB / 0.6944 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.6039, allocations: 8.594 kB / 0.6944 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007233/0.6112, allocations: 1.312 MB / 0.6957 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/0.6119, allocations: 155.7 kB / 0.6959 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.6146, allocations: 1.529 MB / 0.6974 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009395/0.6156, allocations: 55.97 kB / 0.6974 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.6157, allocations: 55.92 kB / 0.6975 GB, free: 10.3 MB / 0.5294 GB 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.0005084/0.6162, allocations: 289.6 kB / 0.6977 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.6165, allocations: 87 kB / 0.6978 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/0.6199, allocations: 1.675 MB / 0.6995 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.6199, allocations: 20.06 kB / 0.6995 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.6199, allocations: 3.938 kB / 0.6995 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.62, allocations: 3.984 kB / 0.6995 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004333/0.6243, allocations: 2.633 MB / 0.7021 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.6243, allocations: 0 / 0.7021 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.6257, allocations: 255.7 kB / 0.7023 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/0.6275, allocations: 396.2 kB / 0.7027 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/0.6276, allocations: 27.98 kB / 0.7027 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/0.6301, allocations: 2.344 MB / 0.705 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6301, allocations: 4.031 kB / 0.705 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.634, allocations: 2.036 MB / 0.707 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2207/0.8547, allocations: 277 kB / 0.7073 GB, free: 205 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/0.855, allocations: 26.61 kB / 0.7073 GB, free: 205 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009636/0.856, allocations: 55.36 kB / 0.7073 GB, free: 205 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.8562, allocations: 65.48 kB / 0.7074 GB, free: 205 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.8563, allocations: 44.89 kB / 0.7074 GB, free: 205 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007698/0.8571, allocations: 0.4993 MB / 0.7079 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8571, allocations: 0 / 0.7079 GB, free: 204.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002287/0.8594, allocations: 0.6641 MB / 0.7086 GB, free: 204.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0059/0.8653, allocations: 3.264 MB / 0.7118 GB, free: 204 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003299/0.8686, allocations: 1.433 MB / 0.7132 GB, free: 203.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.8686, allocations: 1.125 kB / 0.7132 GB, free: 203.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.8705, allocations: 0.7204 MB / 0.7139 GB, free: 203.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.8733, allocations: 0.5232 MB / 0.7144 GB, free: 203.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/0.8907, allocations: 10.05 MB / 0.7242 GB, free: 198.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.8912, allocations: 1.041 MB / 0.7252 GB, free: 197.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001288/0.8925, allocations: 368.7 kB / 0.7256 GB, free: 197.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.893, allocations: 341.8 kB / 0.7259 GB, free: 197.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.192e-06/0.893, allocations: 0 / 0.7259 GB, free: 197.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06603/0.959, allocations: 43.41 MB / 0.7683 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.5, allocations: 10.69 kB / 0.7683 GB, free: 159.5 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches