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.0009063/0.0009063, allocations: 103.1 kB / 17.31 MB, free: 6.344 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.0009244/0.0009245, allocations: 178.5 kB / 18.21 MB, free: 5.531 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.184/1.184, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004113/0.0004113, allocations: 8 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0734/0.07382, allocations: 47.58 MB / 329 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2731/0.347, allocations: 148.6 MB / 477.7 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007622/0.3478, allocations: 0.5878 MB / 478.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.3478, allocations: 7.938 kB / 478.3 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.3481, allocations: 62.45 kB / 478.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.3484, allocations: 149.4 kB / 478.5 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.3507, allocations: 0.9395 MB / 479.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.3511, allocations: 482.6 kB / 479.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.3512, allocations: 9.438 kB / 479.9 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.3514, allocations: 151.4 kB / 480 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.3516, allocations: 127.6 kB / 480.2 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.3516, allocations: 8 kB / 480.2 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.3538, allocations: 1.675 MB / 481.8 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.525e-05/0.3538, allocations: 67.8 kB / 481.9 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.354, allocations: 113.3 kB / 482 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.3552, allocations: 1.037 MB / 483.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3552, allocations: 0 / 483.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3552, allocations: 0 / 483.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.3552, allocations: 0 / 483.1 MB, free: 15.46 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.001463/0.3567, allocations: 0.6366 MB / 483.7 MB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3567, allocations: 8.031 kB / 483.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.408e-05/0.3568, allocations: 50.73 kB / 483.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3569, allocations: 24.73 kB / 483.8 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.3572, allocations: 212.4 kB / 484 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3572, allocations: 20.27 kB / 484 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.3572, allocations: 19.91 kB / 484 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005229/0.3578, allocations: 265.4 kB / 484.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3578, allocations: 0 / 484.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.3578, allocations: 4 kB / 484.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.3578, allocations: 8 kB / 484.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006243/0.3585, allocations: 267.7 kB / 484.5 MB, free: 13.86 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.001288/0.3598, allocations: 0.791 MB / 485.3 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.3604, allocations: 217.1 kB / 485.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.3607, allocations: 139.1 kB / 485.7 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.361, allocations: 352.4 kB / 486 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.361, allocations: 42.55 kB / 486.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.402e-06/0.361, allocations: 0 / 486.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00234/0.3634, allocations: 0.6727 MB / 486.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.3634, allocations: 85.09 kB / 486.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.429e-05/0.3635, allocations: 121.7 kB / 486.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.3635, allocations: 33.7 kB / 487 MB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.3636, allocations: 104.8 kB / 487.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.3637, allocations: 126.2 kB / 487.2 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.3638, allocations: 33.7 kB / 487.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.3639, allocations: 330.8 kB / 487.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.3642, allocations: 131.9 kB / 487.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.3646, allocations: 211.5 kB / 487.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007746/0.3654, allocations: 359.9 kB / 488.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3654, allocations: 4 kB / 488.3 MB, free: 9.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009197/0.3663, allocations: 409.4 kB / 488.7 MB, free: 9.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3664, allocations: 16.02 kB / 488.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3664, allocations: 0 / 488.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3664, allocations: 4 kB / 488.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.3669, allocations: 83.88 kB / 488.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3669, allocations: 4 kB / 488.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.3672, allocations: 35.83 kB / 488.8 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.3672, allocations: 19.92 kB / 488.8 MB, free: 9.301 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.0001204/0.3674, allocations: 141.7 kB / 489 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.3674, allocations: 19.81 kB / 489 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.3678, allocations: 178.4 kB / 489.1 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3678, allocations: 4 kB / 489.1 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3678, allocations: 0.875 kB / 489.1 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3678, allocations: 7.984 kB / 489.2 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.3694, allocations: 0.7596 MB / 489.9 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3694, allocations: 4 kB / 489.9 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.3698, allocations: 79.88 kB / 490 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3698, allocations: 4 kB / 490 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.3698, allocations: 12 kB / 490 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3698, allocations: 4 kB / 490 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3698, allocations: 0 / 490 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.3711, allocations: 0.7225 MB / 490.7 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.3713, allocations: 109 kB / 490.8 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.3713, allocations: 12 kB / 490.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.3717, allocations: 27.95 kB / 490.9 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.3717, allocations: 27.91 kB / 490.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.3717, allocations: 15.92 kB / 490.9 MB, free: 7.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.303e-05/0.3718, allocations: 107.5 kB / 491 MB, free: 6.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3718, allocations: 0 / 491 MB, free: 6.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.3723, allocations: 139.9 kB / 491.2 MB, free: 6.801 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.001823/0.3742, allocations: 1.364 MB / 492.5 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008284/0.375, allocations: 339.6 kB / 492.9 MB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.375, allocations: 0 / 492.9 MB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.3754, allocations: 188.4 kB / 493.1 MB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007059/0.3761, allocations: 95.84 kB / 493.1 MB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.3804, allocations: 2.951 MB / 496.1 MB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3808, allocations: 0.741 MB / 496.8 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000386/0.3811, allocations: 69.91 kB / 496.9 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.3813, allocations: 63.41 kB / 497 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3813, allocations: 0 / 497 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1492/0.5305, allocations: 7.792 MB / 0.4929 GB, free: 8.984 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.5307, allocations: 183.8 kB / 0.4931 GB, free: 8.719 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.572, allocations: 4 kB / 0.4931 GB, free: 8.715 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