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.001465/0.001465, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001797/0.001797, allocations: 205.2 kB / 18.74 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.376/1.376, 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.2187/0.2187, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.353, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5945/0.9475, allocations: 194 MB / 0.72 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.9592, allocations: 7.442 MB / 0.7273 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008999/0.9602, allocations: 21.19 kB / 0.7273 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.9616, allocations: 451 kB / 0.7277 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006395/0.968, allocations: 2.379 MB / 0.73 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006242/0.9743, allocations: 2.312 MB / 0.7323 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0031/0.9774, allocations: 2.202 MB / 0.7344 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008951/0.9783, allocations: 0.6037 MB / 0.735 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/0.9833, allocations: 1.856 MB / 0.7368 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.9852, allocations: 0.8616 MB / 0.7377 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.9854, allocations: 93.31 kB / 0.7378 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01047/0.9959, allocations: 5.244 MB / 0.7429 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.9973, allocations: 429.5 kB / 0.7433 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.9985, allocations: 0.5307 MB / 0.7438 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01187/1.01, allocations: 3.847 MB / 0.7476 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.01, allocations: 0 / 0.7476 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/1.01, allocations: 1 kB / 0.7476 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.622e-05/1.01, 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.004834/1.015, allocations: 1.786 MB / 0.7493 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.015, allocations: 8.344 kB / 0.7493 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/1.016, allocations: 125.5 kB / 0.7495 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004241/1.016, allocations: 113.7 kB / 0.7496 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009626/1.017, allocations: 0.6221 MB / 0.7502 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/1.017, allocations: 124.5 kB / 0.7503 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/1.017, allocations: 67.8 kB / 0.7504 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/1.019, allocations: 1.163 MB / 0.7515 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/1.019, allocations: 4 kB / 0.7515 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.23e-05/1.019, allocations: 37.22 kB / 0.7515 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.856e-05/1.019, allocations: 58.84 kB / 0.7516 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/1.021, allocations: 1.167 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.006419/1.027, allocations: 4.967 MB / 0.7576 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/1.029, allocations: 0.819 MB / 0.7584 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005643/1.029, allocations: 432.4 kB / 0.7588 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/1.031, allocations: 1.626 MB / 0.7604 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/1.031, allocations: 47.73 kB / 0.7604 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.425e-06/1.031, allocations: 0 / 0.7604 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01215/1.043, allocations: 4.018 MB / 0.7643 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/1.043, allocations: 113.7 kB / 0.7645 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007098/1.044, allocations: 0.6639 MB / 0.7651 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-05/1.044, allocations: 46.78 kB / 0.7651 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/1.044, allocations: 386.7 kB / 0.7655 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/1.044, allocations: 312.5 kB / 0.7658 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/1.045, allocations: 195 kB / 0.766 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.045, allocations: 393.2 kB / 0.7664 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008459/1.046, allocations: 496.1 kB / 0.7668 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/1.047, allocations: 0.7515 MB / 0.7676 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/1.049, allocations: 1.286 MB / 0.7688 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.049, allocations: 2.094 kB / 0.7688 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00309/1.052, allocations: 1.679 MB / 0.7705 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/1.052, allocations: 14.41 kB / 0.7705 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/1.052, allocations: 9.719 kB / 0.7705 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006932/1.059, allocations: 1.309 MB / 0.7718 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/1.059, allocations: 156.5 kB / 0.7719 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/1.062, allocations: 1.531 MB / 0.7734 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009229/1.063, allocations: 54.53 kB / 0.7735 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.063, allocations: 53.75 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.000614/1.063, allocations: 297.5 kB / 0.7738 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/1.064, allocations: 84.89 kB / 0.7739 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003218/1.067, allocations: 1.678 MB / 0.7755 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.067, allocations: 15.28 kB / 0.7755 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.067, allocations: 3.094 kB / 0.7755 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.067, allocations: 2.797 kB / 0.7756 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/1.071, allocations: 2.633 MB / 0.7781 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.071, allocations: 1 kB / 0.7781 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.072, allocations: 259 kB / 0.7784 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/1.074, allocations: 378.8 kB / 0.7787 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.879e-05/1.074, allocations: 31.2 kB / 0.7788 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/1.077, allocations: 2.353 MB / 0.7811 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.077, allocations: 7.172 kB / 0.7811 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/1.08, allocations: 2.032 MB / 0.783 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/1.081, allocations: 290.6 kB / 0.7833 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/1.081, allocations: 26.33 kB / 0.7834 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007792/1.082, allocations: 54.42 kB / 0.7834 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/1.082, allocations: 62.17 kB / 0.7835 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/1.082, allocations: 49.97 kB / 0.7835 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006415/1.083, allocations: 0.4984 MB / 0.784 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.083, allocations: 3.094 kB / 0.784 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00216/1.085, allocations: 0.6929 MB / 0.7847 GB, free: 4.176 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.005949/1.091, allocations: 3.305 MB / 0.7879 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002654/1.094, allocations: 1.249 MB / 0.7891 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.094, allocations: 4 kB / 0.7891 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/1.095, allocations: 0.7127 MB / 0.7898 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/1.098, allocations: 0.5209 MB / 0.7903 GB, free: 232 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/1.115, allocations: 9.726 MB / 0.7998 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/1.115, allocations: 1.036 MB / 0.8008 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00117/1.117, allocations: 367.5 kB / 0.8012 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005056/1.117, allocations: 340 kB / 0.8015 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of SimCode: time 7.31e-07/1.117, allocations: 0 / 0.8015 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08593/1.203, allocations: 43.92 MB / 0.8444 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.66, allocations: 19.73 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