Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_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.001091/0.00109, allocations: 114 kB / 17.28 MB, free: 6.199 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.001202/0.001201, allocations: 189.3 kB / 18.2 MB, free: 5.277 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.263/1.263, allocations: 205.1 MB / 224 MB, free: 12.45 MB / 190.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.001057/0.001057, allocations: 48.16 kB / 280.2 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07898/0.08005, allocations: 46.62 MB / 326.9 MB, free: 4.715 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2912/0.3713, allocations: 150.6 MB / 477.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007529/0.3721, allocations: 0.5953 MB / 478.1 MB, free: 184 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.3722, allocations: 0 / 478.1 MB, free: 184 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.3726, allocations: 58.34 kB / 478.1 MB, free: 128 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.3729, allocations: 148.1 kB / 478.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.3753, allocations: 0.9813 MB / 479.2 MB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.3756, allocations: 322.8 kB / 479.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.3756, allocations: 9.438 kB / 479.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.3758, allocations: 155.5 kB / 479.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.376, allocations: 131.6 kB / 479.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.3761, allocations: 16 kB / 479.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.3782, allocations: 1.618 MB / 481.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.734e-05/0.3783, allocations: 79.7 kB / 481.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/0.3784, allocations: 95.64 kB / 481.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.3796, allocations: 1.029 MB / 482.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.3796, allocations: 0 / 482.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3796, allocations: 0 / 482.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3796, allocations: 0 / 482.7 MB, free: 11.56 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001606/0.3813, allocations: 0.6794 MB / 483.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3813, allocations: 8.031 kB / 483.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.3814, allocations: 50.73 kB / 483.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.3815, allocations: 24.73 kB / 483.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.3817, allocations: 215.7 kB / 483.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3818, allocations: 16.27 kB / 483.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.3818, allocations: 15.94 kB / 483.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.3823, allocations: 265.4 kB / 483.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3824, allocations: 0 / 483.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.3824, allocations: 12 kB / 484 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.3824, allocations: 4 kB / 484 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/0.383, allocations: 268.4 kB / 484.2 MB, free: 9.918 MB / 382.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.00129/0.3843, allocations: 0.7858 MB / 485 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/0.3851, allocations: 221 kB / 485.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.3855, allocations: 142.4 kB / 485.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003189/0.3858, allocations: 356.4 kB / 485.7 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3858, allocations: 42.56 kB / 485.8 MB, free: 8.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.353e-06/0.3858, allocations: 3.938 kB / 485.8 MB, free: 8.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002326/0.3882, allocations: 0.6643 MB / 486.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3882, allocations: 85.11 kB / 486.5 MB, free: 7.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.3883, allocations: 125.8 kB / 486.6 MB, free: 7.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.3884, allocations: 33.7 kB / 486.7 MB, free: 7.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.3884, allocations: 112.7 kB / 486.8 MB, free: 7.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.392e-05/0.3885, allocations: 118.2 kB / 486.9 MB, free: 7.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3886, allocations: 73.55 kB / 487 MB, free: 6.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3888, allocations: 330.8 kB / 487.3 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.3891, allocations: 135.9 kB / 487.4 MB, free: 6.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.3895, allocations: 195.6 kB / 487.6 MB, free: 6.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/0.3903, allocations: 371.8 kB / 488 MB, free: 5.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3903, allocations: 2.25 kB / 488 MB, free: 5.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008936/0.3912, allocations: 401.3 kB / 488.4 MB, free: 5.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3912, allocations: 8 kB / 488.4 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3912, allocations: 0 / 488.4 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3912, allocations: 4 kB / 488.4 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.3917, allocations: 92.09 kB / 488.5 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3917, allocations: 11.92 kB / 488.5 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.392, allocations: 31.83 kB / 488.5 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.3921, allocations: 15.98 kB / 488.5 MB, free: 5.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.3922, allocations: 137.7 kB / 488.7 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.3923, allocations: 19.81 kB / 488.7 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.3927, allocations: 174.4 kB / 488.8 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3927, allocations: 8 kB / 488.9 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3927, allocations: 2.531 kB / 488.9 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.3927, allocations: 7.984 kB / 488.9 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.3942, allocations: 0.7629 MB / 489.6 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3943, allocations: 7.938 kB / 489.6 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.3947, allocations: 76.05 kB / 489.7 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.3947, allocations: 4 kB / 489.7 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.3947, allocations: 11.98 kB / 489.7 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3947, allocations: 7.75 kB / 489.7 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3948, allocations: 3.938 kB / 489.7 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.396, allocations: 0.7106 MB / 490.4 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3961, allocations: 120.8 kB / 490.6 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.3962, allocations: 8 kB / 490.6 MB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.3966, allocations: 23.92 kB / 490.6 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.3966, allocations: 27.91 kB / 490.6 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.3966, allocations: 23.98 kB / 490.6 MB, free: 3.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.986e-05/0.3967, allocations: 95.27 kB / 490.7 MB, free: 2.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3967, allocations: 0 / 490.7 MB, free: 2.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005389/0.3973, allocations: 143.9 kB / 490.9 MB, free: 2.828 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001858/0.3991, allocations: 1.372 MB / 492.3 MB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008327/0.4, allocations: 352 kB / 492.6 MB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4, allocations: 4 kB / 492.6 MB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.4004, allocations: 191.5 kB / 492.8 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/0.401, allocations: 88.09 kB / 492.9 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.4052, allocations: 2.889 MB / 495.8 MB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4055, allocations: 0.7293 MB / 496.5 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000402/0.4059, allocations: 85.88 kB / 496.6 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.4061, allocations: 63.41 kB / 496.6 MB, free: 12.85 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4061, allocations: 0 / 496.6 MB, free: 12.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.504/0.9101, allocations: 8.083 MB / 0.4929 GB, free: 4.75 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/0.9104, allocations: 176.6 kB / 0.4931 GB, free: 4.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.92, allocations: 3.938 kB / 0.4931 GB, free: 4.488 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches