Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_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.0009685/0.0009685, allocations: 113.5 kB / 17.28 MB, free: 6.219 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.0009163/0.0009163, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.196/1.196, allocations: 205.1 MB / 224.1 MB, free: 12.36 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.001115/0.001115, allocations: 44.16 kB / 280.2 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07222/0.07335, allocations: 46.63 MB / 326.9 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0287/0.1021, allocations: 26.75 MB / 353.6 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.1046, allocations: 2.236 MB / 355.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.1046, allocations: 4 kB / 355.9 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.105, allocations: 55.7 kB / 355.9 MB, free: 7.535 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.1054, allocations: 147.3 kB / 356.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01234/0.1177, allocations: 5.53 MB / 361.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.1181, allocations: 318.6 kB / 361.9 MB, free: 1.531 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.1181, allocations: 12.91 kB / 361.9 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.1183, allocations: 139.5 kB / 362.1 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1185, allocations: 119.6 kB / 362.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.1186, allocations: 12 kB / 362.2 MB, free: 1.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01259/0.1312, allocations: 9.338 MB / 371.5 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.1313, allocations: 71.83 kB / 371.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1314, allocations: 91.59 kB / 371.7 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007876/0.1393, allocations: 4.776 MB / 376.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1393, allocations: 0 / 376.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1393, allocations: 4 kB / 376.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1393, allocations: 0 / 376.5 MB, free: 2.949 MB / 318.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.002919/0.1423, allocations: 1.115 MB / 377.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1423, allocations: 8.031 kB / 377.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.312e-05/0.1424, allocations: 46.73 kB / 377.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.1425, allocations: 20.41 kB / 377.7 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1427, allocations: 230.7 kB / 377.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1428, allocations: 8.328 kB / 377.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.1428, allocations: 20 kB / 377.9 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.1435, allocations: 289.4 kB / 378.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1435, allocations: 3.938 kB / 378.2 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.1435, allocations: 4 kB / 378.2 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.1436, allocations: 11.98 kB / 378.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/0.1443, allocations: 307.7 kB / 378.5 MB, free: 0.7969 MB / 318.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.1242/0.2685, allocations: 0.8273 MB / 379.3 MB, free: 52.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000785/0.2693, allocations: 250.1 kB / 379.6 MB, free: 52.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.2696, allocations: 131.2 kB / 379.7 MB, free: 52.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01255/0.2821, allocations: 12.85 MB / 392.6 MB, free: 39.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.2822, allocations: 33.56 kB / 392.6 MB, free: 39.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.2822, allocations: 0 / 392.6 MB, free: 39.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002641/0.2848, allocations: 0.6927 MB / 393.3 MB, free: 39.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.2849, allocations: 85.77 kB / 393.4 MB, free: 39.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.248e-05/0.285, allocations: 129.6 kB / 393.5 MB, free: 39.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.285, allocations: 30.27 kB / 393.5 MB, free: 39.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.2851, allocations: 109.9 kB / 393.6 MB, free: 39.1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.2851, allocations: 123.8 kB / 393.7 MB, free: 39.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.2853, allocations: 72.86 kB / 393.8 MB, free: 39.01 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.417e-05/0.2853, allocations: 325.5 kB / 394.1 MB, free: 38.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.2857, allocations: 136.4 kB / 394.3 MB, free: 38.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.2861, allocations: 202 kB / 394.5 MB, free: 38.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008381/0.287, allocations: 361.4 kB / 394.8 MB, free: 38.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.287, allocations: 5.25 kB / 394.8 MB, free: 38.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001101/0.2881, allocations: 422 kB / 395.2 MB, free: 38.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2881, allocations: 6.375 kB / 395.2 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2881, allocations: 3.016 kB / 395.2 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2882, allocations: 3.375 kB / 395.3 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.2886, allocations: 97.91 kB / 395.3 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.2886, allocations: 4.031 kB / 395.4 MB, free: 38.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.289, allocations: 34.94 kB / 395.4 MB, free: 38.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.289, allocations: 15.91 kB / 395.4 MB, free: 38.4 MB / 318.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.0001112/0.2891, allocations: 139.4 kB / 395.5 MB, free: 38.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.2893, allocations: 24.44 kB / 395.6 MB, free: 38.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.2897, allocations: 189.8 kB / 395.7 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2897, allocations: 4.375 kB / 395.7 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2898, allocations: 2 kB / 395.8 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2898, allocations: 7.078 kB / 395.8 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.2913, allocations: 0.7663 MB / 396.5 MB, free: 37.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2913, allocations: 2.656 kB / 396.5 MB, free: 37.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.2917, allocations: 79.72 kB / 396.6 MB, free: 37.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2917, allocations: 5.828 kB / 396.6 MB, free: 37.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.2918, allocations: 18.52 kB / 396.6 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.2918, allocations: 11.25 kB / 396.6 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2918, allocations: 3 kB / 396.6 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.2931, allocations: 0.6982 MB / 397.3 MB, free: 37.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.2932, allocations: 119.5 kB / 397.5 MB, free: 37.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.2933, allocations: 17.12 kB / 397.5 MB, free: 37.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.2936, allocations: 22.91 kB / 397.5 MB, free: 37.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.2937, allocations: 21.38 kB / 397.5 MB, free: 37.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.2937, allocations: 18.64 kB / 397.5 MB, free: 37.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.2938, allocations: 98.86 kB / 397.6 MB, free: 37.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2938, allocations: 3.562 kB / 397.6 MB, free: 37.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002219/0.296, allocations: 0.9294 MB / 398.6 MB, free: 36.93 MB / 318.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 (37): * Single equations (assignments): 37 * 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.0055/0.3015, allocations: 2.405 MB / 401 MB, free: 35.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009108/0.3025, allocations: 368.4 kB / 401.3 MB, free: 35.76 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3025, allocations: 1.188 kB / 401.3 MB, free: 35.76 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.3029, allocations: 180.3 kB / 401.5 MB, free: 35.71 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.3036, allocations: 100.4 kB / 401.6 MB, free: 35.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/0.3083, allocations: 3.194 MB / 404.8 MB, free: 33.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.3084, allocations: 0.7343 MB / 405.5 MB, free: 32.76 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004134/0.3088, allocations: 86.78 kB / 405.6 MB, free: 32.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.309, allocations: 70.97 kB / 405.7 MB, free: 32.7 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.309, allocations: 1.125 kB / 405.7 MB, free: 32.7 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.61/1.919, allocations: 33.82 MB / 439.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/1.919, allocations: 237.6 kB / 439.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.857/5.776, allocations: 4 kB / 439.7 MB, free: 1.891 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches