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.0008465/0.0008468, allocations: 86.11 kB / 16.64 MB, free: 6.176 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.0009493/0.0009492, allocations: 177.5 kB / 17.56 MB, free: 5.824 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.209/1.209, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002285, allocations: 4 kB / 301.5 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07789/0.07813, allocations: 50.42 MB / 351.9 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1713/0.2495, allocations: 27.46 MB / 379.4 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.2516, allocations: 2.313 MB / 381.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.2517, allocations: 4.562 kB / 381.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.252, allocations: 54.23 kB / 381.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.2523, allocations: 152.6 kB / 381.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01305/0.2653, allocations: 5.384 MB / 387.3 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.2659, allocations: 466.5 kB / 387.8 MB, free: 8.262 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.2659, allocations: 12.91 kB / 387.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.2661, allocations: 121.3 kB / 387.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.2663, allocations: 125.9 kB / 388 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.2663, allocations: 6.719 kB / 388 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01389/0.2802, allocations: 9.577 MB / 397.6 MB, free: 4.238 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.2804, allocations: 65.27 kB / 397.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.2805, allocations: 116.1 kB / 397.8 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.2864, allocations: 4.765 MB / 402.5 MB, free: 1.379 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2864, allocations: 0 / 402.5 MB, free: 1.379 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2864, allocations: 0 / 402.5 MB, free: 1.379 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2864, allocations: 0 / 402.5 MB, free: 1.379 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.002136/0.2886, allocations: 1.086 MB / 403.6 MB, free: 248 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2886, allocations: 12.03 kB / 403.6 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/0.2887, allocations: 46.73 kB / 403.7 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.2888, allocations: 20.75 kB / 403.7 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.289, allocations: 218.7 kB / 403.9 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2891, allocations: 12.33 kB / 403.9 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.2891, allocations: 19.91 kB / 404 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/0.2898, allocations: 285.4 kB / 404.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.2898, allocations: 4 kB / 404.2 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.2899, allocations: 4 kB / 404.2 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.2899, allocations: 8 kB / 404.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007661/0.2907, allocations: 319.6 kB / 404.6 MB, free: 15.26 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.001286/0.292, allocations: 0.8085 MB / 405.4 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006645/0.2926, allocations: 259 kB / 405.6 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.2929, allocations: 137.6 kB / 405.8 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01433/0.3073, allocations: 12.91 MB / 418.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3073, allocations: 42.5 kB / 418.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.164e-06/0.3074, allocations: 0 / 418.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002711/0.3101, allocations: 0.6795 MB / 419.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.3101, allocations: 85.05 kB / 419.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.3102, allocations: 133.7 kB / 419.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.3103, allocations: 33.7 kB / 419.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.3103, allocations: 108.8 kB / 419.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.943e-05/0.3105, allocations: 129.2 kB / 419.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.3105, allocations: 37.7 kB / 419.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3106, allocations: 326.8 kB / 420.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.311, allocations: 135.9 kB / 420.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.3115, allocations: 207.5 kB / 420.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008863/0.3123, allocations: 359.5 kB / 420.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3124, allocations: 4 kB / 420.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001122/0.3135, allocations: 421.1 kB / 421.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3135, allocations: 4 kB / 421.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3135, allocations: 7.984 kB / 421.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3136, allocations: 4 kB / 421.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/0.314, allocations: 92.03 kB / 421.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.314, allocations: 7.938 kB / 421.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.3143, allocations: 23.98 kB / 421.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.3144, allocations: 19.92 kB / 421.5 MB, free: 11.62 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.0001345/0.3145, allocations: 145.7 kB / 421.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.3146, allocations: 19.81 kB / 421.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.3151, allocations: 193.9 kB / 421.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3151, allocations: 4 kB / 421.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3151, allocations: 3.938 kB / 421.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3151, allocations: 4 kB / 421.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.3167, allocations: 0.7507 MB / 422.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3167, allocations: 4 kB / 422.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.3171, allocations: 75.88 kB / 422.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3171, allocations: 4 kB / 422.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.3172, allocations: 20.89 kB / 422.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.3172, allocations: 4 kB / 422.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3172, allocations: 3.938 kB / 422.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.3186, allocations: 0.7045 MB / 423.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3188, allocations: 128.8 kB / 423.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.3188, allocations: 12 kB / 423.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.3192, allocations: 23.98 kB / 423.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.3192, allocations: 31.84 kB / 423.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.3192, allocations: 15.98 kB / 423.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.661e-05/0.3193, allocations: 95.33 kB / 423.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3193, allocations: 4 kB / 423.7 MB, free: 9.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0024/0.3217, allocations: 0.937 MB / 424.7 MB, free: 8.316 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.005812/0.3275, allocations: 2.397 MB / 427.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009227/0.3285, allocations: 339.5 kB / 427.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3285, allocations: 0 / 427.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004492/0.3289, allocations: 187.2 kB / 427.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007131/0.3297, allocations: 98.53 kB / 427.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/0.3353, allocations: 3.241 MB / 430.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.3356, allocations: 0.7446 MB / 431.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004052/0.336, allocations: 86.03 kB / 431.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.3362, allocations: 67.41 kB / 431.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3362, allocations: 0 / 431.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05005/0.3862, allocations: 32.05 MB / 463.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.3865, allocations: 240.2 kB / 464.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.243/3.629, allocations: 4 kB / 464.1 MB, free: 0.8672 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