Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_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.001025/0.001025, allocations: 110.5 kB / 16.51 MB, free: 6.707 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.0009681/0.0009681, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 56.67 kB / 300.1 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08651/0.0876, allocations: 49.44 MB / 349.5 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1606/0.2482, allocations: 28.22 MB / 377.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.2504, allocations: 2.338 MB / 380.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.2505, allocations: 1.25 kB / 380.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.2508, allocations: 57.7 kB / 380.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.2511, allocations: 150.9 kB / 380.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.2626, allocations: 5.381 MB / 385.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.2631, allocations: 475.1 kB / 386.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.2631, allocations: 8.656 kB / 386.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.2633, allocations: 118.2 kB / 386.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.2635, allocations: 130.4 kB / 386.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.2635, allocations: 6.594 kB / 386.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01358/0.2771, allocations: 9.582 MB / 396 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.014e-05/0.2772, allocations: 67.8 kB / 396 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.2774, allocations: 91.39 kB / 396.1 MB, free: 4.383 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00674/0.2841, allocations: 4.778 MB / 400.9 MB, free: 1.562 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2841, allocations: 0 / 400.9 MB, free: 1.562 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.2841, allocations: 0 / 400.9 MB, free: 1.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2841, allocations: 0 / 400.9 MB, free: 1.562 MB / 302.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.002474/0.2866, allocations: 1.12 MB / 402 MB, free: 404 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.2867, allocations: 12.03 kB / 402 MB, free: 392 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/0.2868, allocations: 54.67 kB / 402.1 MB, free: 332 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.2869, allocations: 24.75 kB / 402.1 MB, free: 308 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.2871, allocations: 214.7 kB / 402.3 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2871, allocations: 12.33 kB / 402.3 MB, free: 40 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.2872, allocations: 16 kB / 402.3 MB, free: 24 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.2879, allocations: 297.3 kB / 402.6 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2879, allocations: 0 / 402.6 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.288, allocations: 11.98 kB / 402.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.288, allocations: 8 kB / 402.6 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.2887, allocations: 307.7 kB / 402.9 MB, free: 15.4 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.001305/0.29, allocations: 0.8168 MB / 403.8 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.2907, allocations: 261 kB / 404 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.291, allocations: 129.6 kB / 404.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01452/0.3055, allocations: 12.85 MB / 417 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3056, allocations: 38.56 kB / 417 MB, free: 14.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 4.088e-06/0.3056, allocations: 3.984 kB / 417 MB, free: 14.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002571/0.3082, allocations: 0.6989 MB / 417.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.3082, allocations: 81.11 kB / 417.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.3083, allocations: 125.8 kB / 417.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.3084, allocations: 29.7 kB / 418 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.3084, allocations: 112.8 kB / 418.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/0.3085, allocations: 122.2 kB / 418.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3086, allocations: 77.67 kB / 418.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.3087, allocations: 330.8 kB / 418.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.3091, allocations: 131.9 kB / 418.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.3096, allocations: 215.5 kB / 418.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/0.3104, allocations: 355.5 kB / 419.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3104, allocations: 0 / 419.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001048/0.3114, allocations: 418.9 kB / 419.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3115, allocations: 8 kB / 419.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3115, allocations: 0 / 419.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3115, allocations: 4 kB / 419.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.312, allocations: 95.86 kB / 419.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.312, allocations: 7.938 kB / 419.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.3123, allocations: 27.98 kB / 419.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.3123, allocations: 19.98 kB / 419.8 MB, free: 11.76 MB / 334.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.0001205/0.3125, allocations: 145.7 kB / 420 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.3126, allocations: 23.8 kB / 420 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.313, allocations: 186.2 kB / 420.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3131, allocations: 4 kB / 420.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3131, allocations: 3.938 kB / 420.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3131, allocations: 0 / 420.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.3147, allocations: 0.7675 MB / 421 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3147, allocations: 4 kB / 421 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.3151, allocations: 79.88 kB / 421.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3151, allocations: 4 kB / 421.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.3151, allocations: 9.562 kB / 421.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3151, allocations: 7.984 kB / 421.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3151, allocations: 0 / 421.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.3165, allocations: 0.7052 MB / 421.8 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3166, allocations: 128.8 kB / 421.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.3167, allocations: 8 kB / 421.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.317, allocations: 20.05 kB / 421.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.3171, allocations: 31.84 kB / 422 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.3171, allocations: 19.98 kB / 422 MB, free: 9.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.329e-05/0.3172, allocations: 95.27 kB / 422.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3172, allocations: 0 / 422.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002354/0.3196, allocations: 0.937 MB / 423 MB, free: 8.457 MB / 334.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.004939/0.3245, allocations: 2.404 MB / 425.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008807/0.3254, allocations: 343.9 kB / 425.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3254, allocations: 4 kB / 425.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004176/0.3258, allocations: 179.6 kB / 425.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.3265, allocations: 96.98 kB / 426 MB, free: 5.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/0.3315, allocations: 3.193 MB / 429.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.3318, allocations: 0.7407 MB / 430 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003944/0.3322, allocations: 89.98 kB / 430 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.3324, allocations: 67.39 kB / 430.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3324, allocations: 0 / 430.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.363/4.695, allocations: 32.16 MB / 462.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/4.695, allocations: 240.7 kB / 462.5 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.317/8.012, allocations: 4 kB / 462.5 MB, free: 0.8203 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches