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.001552/0.001552, allocations: 100.2 kB / 17.58 MB, free: 5.414 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.001792/0.001792, allocations: 191.9 kB / 18.5 MB, free: 4.516 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.273/1.273, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001085/0.001085, allocations: 55.86 kB / 280.8 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06878/0.06987, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0271/0.097, allocations: 26.59 MB / 354 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.0994, allocations: 2.227 MB / 356.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.0995, allocations: 4 kB / 356.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.09979, allocations: 59.64 kB / 356.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.1001, allocations: 163.1 kB / 356.4 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01179/0.1119, allocations: 6.15 MB / 362.6 MB, free: 1.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.1123, allocations: 314.6 kB / 362.9 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.1123, allocations: 16.89 kB / 362.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1125, allocations: 139.5 kB / 363 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.1127, allocations: 119.6 kB / 363.1 MB, free: 488 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.1127, allocations: 12 kB / 363.2 MB, free: 476 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/0.1252, allocations: 9.222 MB / 372.4 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.1253, allocations: 71.77 kB / 372.4 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.1254, allocations: 91.66 kB / 372.5 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007008/0.1324, allocations: 4.683 MB / 377.2 MB, free: 2.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1324, allocations: 0 / 377.2 MB, free: 2.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1325, allocations: 0 / 377.2 MB, free: 2.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1325, allocations: 4 kB / 377.2 MB, free: 2.375 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.00281/0.1353, allocations: 1.115 MB / 378.3 MB, free: 1.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1353, allocations: 8.031 kB / 378.3 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.1354, allocations: 50.73 kB / 378.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.1355, allocations: 20.41 kB / 378.4 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1358, allocations: 222.7 kB / 378.6 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1358, allocations: 12.33 kB / 378.6 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.1358, allocations: 12 kB / 378.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.1365, allocations: 289.4 kB / 378.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1365, allocations: 0 / 378.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.1365, allocations: 8 kB / 378.9 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.1366, allocations: 4 kB / 378.9 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/0.1373, allocations: 315.6 kB / 379.3 MB, free: 236 kB / 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.1172/0.2546, allocations: 0.8239 MB / 380.1 MB, free: 52.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.2552, allocations: 251.9 kB / 380.3 MB, free: 52.58 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.2555, allocations: 130.6 kB / 380.5 MB, free: 52.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.2669, allocations: 12.85 MB / 393.3 MB, free: 39.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.2669, allocations: 39.5 kB / 393.3 MB, free: 39.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.873e-06/0.2669, allocations: 0 / 393.3 MB, free: 39.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002447/0.2694, allocations: 0.6884 MB / 394 MB, free: 39.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.2694, allocations: 85.34 kB / 394.1 MB, free: 39.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.2695, allocations: 123.7 kB / 394.2 MB, free: 39.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2695, allocations: 30.92 kB / 394.3 MB, free: 39.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.2696, allocations: 110.5 kB / 394.4 MB, free: 39.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.2696, allocations: 127.7 kB / 394.5 MB, free: 39.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2697, allocations: 73.56 kB / 394.6 MB, free: 39.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.2698, allocations: 331.6 kB / 394.9 MB, free: 38.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.2701, allocations: 134 kB / 395 MB, free: 38.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.2706, allocations: 212.6 kB / 395.2 MB, free: 38.69 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008142/0.2714, allocations: 355 kB / 395.6 MB, free: 38.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2714, allocations: 1.031 kB / 395.6 MB, free: 38.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001015/0.2724, allocations: 421.8 kB / 396 MB, free: 38.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2724, allocations: 5.438 kB / 396 MB, free: 38.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2725, allocations: 6.938 kB / 396 MB, free: 38.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2725, allocations: 7.5 kB / 396 MB, free: 38.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.2729, allocations: 98.36 kB / 396.1 MB, free: 38.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2729, allocations: 4.859 kB / 396.1 MB, free: 38.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.2732, allocations: 24.92 kB / 396.1 MB, free: 38.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.2732, allocations: 19.11 kB / 396.2 MB, free: 38.31 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 9.519e-05/0.2733, allocations: 139.5 kB / 396.3 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.2735, allocations: 22.75 kB / 396.3 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.2739, allocations: 194.7 kB / 396.5 MB, free: 38.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2739, allocations: 4.5 kB / 396.5 MB, free: 38.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2739, allocations: 6.141 kB / 396.5 MB, free: 38.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2739, allocations: 0.9844 kB / 396.5 MB, free: 38.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.2753, allocations: 0.7632 MB / 397.3 MB, free: 37.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.2753, allocations: 1.188 kB / 397.3 MB, free: 37.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.2757, allocations: 80.88 kB / 397.4 MB, free: 37.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2757, allocations: 7.469 kB / 397.4 MB, free: 37.56 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.2758, allocations: 14.17 kB / 397.4 MB, free: 37.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2758, allocations: 7.031 kB / 397.4 MB, free: 37.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2758, allocations: 1.125 kB / 397.4 MB, free: 37.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.2771, allocations: 0.7064 MB / 398.1 MB, free: 37.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-05/0.2772, allocations: 127.4 kB / 398.2 MB, free: 37.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.2772, allocations: 8.891 kB / 398.2 MB, free: 37.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.2775, allocations: 19.06 kB / 398.2 MB, free: 37.01 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.2776, allocations: 28.36 kB / 398.3 MB, free: 37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.2776, allocations: 14.42 kB / 398.3 MB, free: 37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.973e-05/0.2777, allocations: 103.7 kB / 398.4 MB, free: 36.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2777, allocations: 0 / 398.4 MB, free: 36.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002077/0.2798, allocations: 0.9262 MB / 399.3 MB, free: 36.83 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.004204/0.284, allocations: 2.41 MB / 401.7 MB, free: 35.78 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008608/0.2848, allocations: 366.7 kB / 402.1 MB, free: 35.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2848, allocations: 1.562 kB / 402.1 MB, free: 35.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.2852, allocations: 187.6 kB / 402.3 MB, free: 35.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.2859, allocations: 95.38 kB / 402.4 MB, free: 35.58 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.2901, allocations: 3.117 MB / 405.5 MB, free: 33.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.2902, allocations: 0.7375 MB / 406.2 MB, free: 32.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003529/0.2906, allocations: 88.05 kB / 406.3 MB, free: 32.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.2907, allocations: 66.8 kB / 406.4 MB, free: 32.66 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2908, allocations: 0 / 406.4 MB, free: 32.66 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.51/1.801, allocations: 33.92 MB / 440.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/14.11, allocations: 15.72 kB / 440.3 MB, free: 1.668 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches