Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001199/0.0012, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002713, allocations: 75.86 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4305, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6091/1.04, allocations: 194 MB / 0.72 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009566/1.049, allocations: 7.443 MB / 0.7273 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007136/1.05, allocations: 20.34 kB / 0.7273 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/1.051, allocations: 449.5 kB / 0.7277 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005622/1.057, allocations: 2.382 MB / 0.73 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005541/1.062, allocations: 2.313 MB / 0.7323 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002714/1.065, allocations: 2.206 MB / 0.7344 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007488/1.066, allocations: 0.5967 MB / 0.735 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/1.07, allocations: 1.853 MB / 0.7368 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/1.071, allocations: 0.8652 MB / 0.7377 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/1.071, allocations: 94.22 kB / 0.7378 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009951/1.081, allocations: 5.235 MB / 0.7429 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007609/1.082, allocations: 428.8 kB / 0.7433 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/1.083, allocations: 0.5381 MB / 0.7438 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/1.094, allocations: 3.843 MB / 0.7476 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.094, allocations: 4.297 kB / 0.7476 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/1.094, allocations: 0.8438 kB / 0.7476 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.33e-05/1.094, allocations: 0 / 0.7476 GB, free: 1.352 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.003911/1.098, allocations: 1.786 MB / 0.7493 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.098, allocations: 8.906 kB / 0.7493 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/1.098, allocations: 128.9 kB / 0.7495 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003739/1.098, allocations: 110.7 kB / 0.7496 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/1.099, allocations: 0.6206 MB / 0.7502 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/1.1, allocations: 118.2 kB / 0.7503 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/1.1, allocations: 76.92 kB / 0.7504 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/1.101, allocations: 1.157 MB / 0.7515 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/1.101, allocations: 3.094 kB / 0.7515 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/1.101, allocations: 40.31 kB / 0.7515 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.031e-05/1.101, allocations: 60.72 kB / 0.7516 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/1.103, allocations: 1.165 MB / 0.7527 GB, free: 15.77 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.005916/1.109, allocations: 4.973 MB / 0.7576 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.111, allocations: 0.8182 MB / 0.7584 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/1.111, allocations: 426.9 kB / 0.7588 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/1.113, allocations: 1.63 MB / 0.7604 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/1.113, allocations: 44.5 kB / 0.7604 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.844e-06/1.113, allocations: 1.031 kB / 0.7604 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01255/1.125, allocations: 4.019 MB / 0.7643 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/1.125, allocations: 113.5 kB / 0.7645 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/1.126, allocations: 0.6678 MB / 0.7651 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.46e-05/1.126, allocations: 40.92 kB / 0.7651 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/1.127, allocations: 389.6 kB / 0.7655 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/1.127, allocations: 308.8 kB / 0.7658 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/1.127, allocations: 194.9 kB / 0.766 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.128, allocations: 392 kB / 0.7664 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009036/1.128, allocations: 492.8 kB / 0.7668 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/1.13, allocations: 0.7553 MB / 0.7676 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/1.132, allocations: 1.283 MB / 0.7688 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.132, allocations: 3.312 kB / 0.7688 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00313/1.135, allocations: 1.684 MB / 0.7705 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.135, allocations: 7.938 kB / 0.7705 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1.135, allocations: 9.281 kB / 0.7705 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006727/1.142, allocations: 1.319 MB / 0.7718 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/1.142, allocations: 152.1 kB / 0.7719 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/1.145, allocations: 1.534 MB / 0.7734 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009295/1.146, allocations: 50.3 kB / 0.7735 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/1.146, allocations: 54.95 kB / 0.7735 GB, free: 8.484 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.0005282/1.146, allocations: 297 kB / 0.7738 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/1.146, allocations: 85.67 kB / 0.7739 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/1.15, allocations: 1.675 MB / 0.7755 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/1.15, allocations: 16.64 kB / 0.7755 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.15, allocations: 2.906 kB / 0.7755 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.15, allocations: 2.484 kB / 0.7755 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00443/1.154, allocations: 2.635 MB / 0.7781 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.154, allocations: 0 / 0.7781 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/1.155, allocations: 260.9 kB / 0.7784 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/1.157, allocations: 378.6 kB / 0.7787 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.385e-05/1.157, allocations: 33.02 kB / 0.7788 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/1.16, allocations: 2.356 MB / 0.7811 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.16, allocations: 2.812 kB / 0.7811 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/1.164, allocations: 2.031 MB / 0.783 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/1.165, allocations: 293 kB / 0.7833 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/1.165, allocations: 22.81 kB / 0.7833 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009937/1.166, allocations: 56.39 kB / 0.7834 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/1.166, allocations: 73.19 kB / 0.7835 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.167, allocations: 45.25 kB / 0.7835 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008705/1.167, allocations: 0.4966 MB / 0.784 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.232e-06/1.167, allocations: 3.094 kB / 0.784 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002884/1.17, allocations: 0.6935 MB / 0.7847 GB, free: 4.18 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.006664/1.177, allocations: 3.309 MB / 0.7879 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002829/1.18, allocations: 1.25 MB / 0.7891 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/1.18, allocations: 4 kB / 0.7891 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/1.182, allocations: 0.715 MB / 0.7898 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/1.184, allocations: 0.5187 MB / 0.7903 GB, free: 220 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/1.203, allocations: 9.712 MB / 0.7998 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/1.203, allocations: 1.047 MB / 0.8008 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001238/1.205, allocations: 367.9 kB / 0.8012 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005762/1.205, allocations: 335.3 kB / 0.8015 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/1.205, allocations: 0 / 0.8015 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0819/1.287, allocations: 43.93 MB / 0.8444 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.4, allocations: 19.67 kB / 0.8444 GB, free: 10.59 MB / 0.6387 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p