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.001242/0.001242, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001216/0.001216, allocations: 181 kB / 18.71 MB, free: 4.207 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.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2174/0.2174, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2658/0.609, allocations: 190.5 MB / 0.7045 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01264/0.6217, allocations: 7.394 MB / 0.7117 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.6232, allocations: 19.88 kB / 0.7117 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.6251, allocations: 437.5 kB / 0.7122 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007615/0.6328, allocations: 2.345 MB / 0.7145 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006818/0.6396, allocations: 2.293 MB / 0.7167 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3452/0.9848, allocations: 2.18 MB / 0.7188 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.9862, allocations: 0.598 MB / 0.7194 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005406/0.9916, allocations: 1.795 MB / 0.7212 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/0.9934, allocations: 0.8583 MB / 0.722 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002817/0.9937, allocations: 94.94 kB / 0.7221 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/1.004, allocations: 5.18 MB / 0.7271 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009712/1.005, allocations: 429.2 kB / 0.7276 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001215/1.007, allocations: 0.5348 MB / 0.7281 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009476/1.016, allocations: 3.792 MB / 0.7318 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/1.016, allocations: 0.9375 kB / 0.7318 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.174e-06/1.016, allocations: 0 / 0.7318 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.432e-05/1.016, allocations: 4.406 kB / 0.7318 GB, free: 3.875 MB / 0.5606 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.005111/1.021, allocations: 1.765 MB / 0.7335 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.021, allocations: 12.73 kB / 0.7335 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/1.022, allocations: 124.7 kB / 0.7336 GB, free: 18.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004726/1.022, allocations: 119.4 kB / 0.7338 GB, free: 18.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/1.023, allocations: 0.6186 MB / 0.7344 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/1.023, allocations: 118.4 kB / 0.7345 GB, free: 18.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/1.023, allocations: 68.95 kB / 0.7345 GB, free: 18.51 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/1.025, allocations: 1.17 MB / 0.7357 GB, free: 18.33 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/1.025, allocations: 1.031 kB / 0.7357 GB, free: 18.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-05/1.025, allocations: 37.25 kB / 0.7357 GB, free: 18.33 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/1.025, allocations: 59.14 kB / 0.7358 GB, free: 18.33 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/1.027, allocations: 1.159 MB / 0.7369 GB, free: 18.32 MB / 0.5762 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.006486/1.033, allocations: 4.99 MB / 0.7418 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/1.035, allocations: 0.8134 MB / 0.7426 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/1.035, allocations: 423.3 kB / 0.743 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/1.037, allocations: 1.624 MB / 0.7446 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/1.037, allocations: 45 kB / 0.7446 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.715e-06/1.037, allocations: 0.9062 kB / 0.7446 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01309/1.05, allocations: 4.019 MB / 0.7485 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.05, allocations: 111.9 kB / 0.7486 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/1.051, allocations: 0.6677 MB / 0.7493 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/1.052, allocations: 43.3 kB / 0.7493 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/1.052, allocations: 392.4 kB / 0.7497 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/1.052, allocations: 309 kB / 0.75 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/1.052, allocations: 193.7 kB / 0.7502 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002062/1.053, allocations: 392.7 kB / 0.7506 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009163/1.054, allocations: 492.7 kB / 0.751 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/1.055, allocations: 0.7623 MB / 0.7518 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/1.057, allocations: 1.283 MB / 0.753 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.057, allocations: 2.031 kB / 0.753 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003619/1.06, allocations: 1.689 MB / 0.7547 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/1.06, allocations: 6.844 kB / 0.7547 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/1.06, allocations: 9.688 kB / 0.7547 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007089/1.068, allocations: 1.304 MB / 0.756 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/1.068, allocations: 158.5 kB / 0.7561 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/1.071, allocations: 1.523 MB / 0.7576 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.072, allocations: 58.33 kB / 0.7577 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/1.072, allocations: 49.53 kB / 0.7577 GB, free: 11.06 MB / 0.5762 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.0006185/1.073, allocations: 305.1 kB / 0.758 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/1.073, allocations: 86.2 kB / 0.7581 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/1.076, allocations: 1.672 MB / 0.7597 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/1.076, allocations: 12.27 kB / 0.7597 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.076, allocations: 0 / 0.7597 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/1.076, allocations: 3.766 kB / 0.7597 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004949/1.081, allocations: 2.637 MB / 0.7623 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.081, allocations: 4.719 kB / 0.7623 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/1.083, allocations: 262.9 kB / 0.7626 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/1.086, allocations: 380.1 kB / 0.7629 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/1.086, allocations: 34.84 kB / 0.763 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004555/1.091, allocations: 2.344 MB / 0.7652 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.091, allocations: 5.172 kB / 0.7652 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006082/1.097, allocations: 2.032 MB / 0.7672 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009414/1.098, allocations: 295 kB / 0.7675 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003938/1.098, allocations: 26.86 kB / 0.7675 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.099, allocations: 50.94 kB / 0.7676 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/1.1, allocations: 68.94 kB / 0.7677 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002219/1.1, allocations: 44.72 kB / 0.7677 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00116/1.101, allocations: 0.4974 MB / 0.7682 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.884e-06/1.101, allocations: 0 / 0.7682 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003194/1.104, allocations: 0.6778 MB / 0.7688 GB, free: 7.688 MB / 0.5762 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.009417/1.114, allocations: 3.288 MB / 0.7721 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003936/1.118, allocations: 1.247 MB / 0.7733 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/1.118, allocations: 4.812 kB / 0.7733 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/1.12, allocations: 0.7171 MB / 0.774 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/1.123, allocations: 0.513 MB / 0.7745 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/1.148, allocations: 9.709 MB / 0.784 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/1.149, allocations: 1.044 MB / 0.785 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001805/1.151, allocations: 372.7 kB / 0.7853 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006684/1.152, allocations: 329.1 kB / 0.7856 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of SimCode: time 1.313e-06/1.152, allocations: 4 kB / 0.7857 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09398/1.246, allocations: 43.75 MB / 0.8284 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/15.21, allocations: 4 kB / 0.8284 GB, free: 5.957 MB / 0.6231 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