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.001018/0.001018, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.0009122/0.0009122, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.243/1.243, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009294/0.0009295, allocations: 43 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07973/0.08067, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1715/0.2522, allocations: 26.42 MB / 376.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.2545, allocations: 2.233 MB / 378.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.2546, allocations: 1.375 kB / 378.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.2549, allocations: 58.5 kB / 378.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.2553, allocations: 159.9 kB / 379 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01413/0.2694, allocations: 6.498 MB / 385.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.2698, allocations: 313.8 kB / 385.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.2699, allocations: 7.969 kB / 385.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.2701, allocations: 141 kB / 386 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.2702, allocations: 117.4 kB / 386.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.2703, allocations: 11.06 kB / 386.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01688/0.2872, allocations: 9.337 MB / 395.4 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.2873, allocations: 76.66 kB / 395.5 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.2876, allocations: 94.22 kB / 395.6 MB, free: 3.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00952/0.2971, allocations: 4.699 MB / 400.3 MB, free: 1.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2971, allocations: 0 / 400.3 MB, free: 1.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2971, allocations: 0 / 400.3 MB, free: 1.359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.2971, allocations: 0 / 400.3 MB, free: 1.359 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.002562/0.2997, allocations: 1.115 MB / 401.4 MB, free: 468 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2998, allocations: 12.03 kB / 401.4 MB, free: 456 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.2998, allocations: 58.67 kB / 401.5 MB, free: 388 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.2999, allocations: 20.75 kB / 401.5 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.3001, allocations: 220.8 kB / 401.7 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3001, allocations: 16.33 kB / 401.7 MB, free: 92 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.3002, allocations: 12 kB / 401.8 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.3009, allocations: 287.7 kB / 402 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3009, allocations: 4 kB / 402 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.3009, allocations: 11.98 kB / 402 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.3009, allocations: 4 kB / 402.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007508/0.3017, allocations: 307.7 kB / 402.4 MB, free: 15.47 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.001325/0.303, allocations: 0.8229 MB / 403.2 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000686/0.3037, allocations: 256 kB / 403.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.304, allocations: 129.6 kB / 403.6 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01548/0.3195, allocations: 12.86 MB / 416.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.3196, allocations: 38.5 kB / 416.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.3196, allocations: 0 / 416.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002853/0.3225, allocations: 0.7011 MB / 417.1 MB, free: 14.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.3226, allocations: 85.05 kB / 417.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.3227, allocations: 129.8 kB / 417.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.3227, allocations: 29.7 kB / 417.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.3228, allocations: 104.8 kB / 417.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3229, allocations: 129 kB / 417.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.323, allocations: 65.69 kB / 417.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3232, allocations: 338.8 kB / 418 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.3236, allocations: 135.9 kB / 418.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.324, allocations: 207.6 kB / 418.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009178/0.325, allocations: 351.5 kB / 418.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.325, allocations: 4 kB / 418.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001209/0.3262, allocations: 418.8 kB / 419.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3262, allocations: 10.81 kB / 419.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3262, allocations: 3.938 kB / 419.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3263, allocations: 4 kB / 419.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.3267, allocations: 91.88 kB / 419.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.3268, allocations: 15.86 kB / 419.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.3271, allocations: 29.64 kB / 419.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.3271, allocations: 23.98 kB / 419.3 MB, free: 11.84 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.0001401/0.3273, allocations: 141.8 kB / 419.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.3274, allocations: 15.81 kB / 419.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.3279, allocations: 191.7 kB / 419.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3279, allocations: 4 kB / 419.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.3279, allocations: 7.938 kB / 419.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.3279, allocations: 3.984 kB / 419.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.3296, allocations: 0.7573 MB / 420.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3296, allocations: 4.156 kB / 420.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.33, allocations: 79.88 kB / 420.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.33, allocations: 4 kB / 420.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.3301, allocations: 12 kB / 420.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3301, allocations: 0 / 420.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.3301, allocations: 7.938 kB / 420.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.3316, allocations: 0.7052 MB / 421.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.3317, allocations: 116.9 kB / 421.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.3318, allocations: 9.25 kB / 421.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.3321, allocations: 23.97 kB / 421.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.3322, allocations: 35.91 kB / 421.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.3322, allocations: 19.98 kB / 421.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.869e-05/0.3323, allocations: 95.27 kB / 421.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3323, allocations: 0 / 421.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00265/0.335, allocations: 0.9369 MB / 422.4 MB, free: 8.555 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.006462/0.3414, allocations: 2.39 MB / 424.8 MB, free: 6.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.3425, allocations: 371.8 kB / 425.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3425, allocations: 0 / 425.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.343, allocations: 182.9 kB / 425.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.3437, allocations: 88.92 kB / 425.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006349/0.35, allocations: 3.136 MB / 428.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3504, allocations: 0.7369 MB / 429.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004196/0.3508, allocations: 93.91 kB / 429.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.351, allocations: 75.39 kB / 429.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of SimCode: time 4.5e-07/0.351, allocations: 0 / 429.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.098/1.449, allocations: 32.5 MB / 462 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.255/10.7, allocations: 11.69 kB / 462 MB, free: 0.9531 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