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.001365/0.001365, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001378/0.001378, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.303/1.303, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001324/0.001324, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.0877, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2103/0.298, allocations: 26.58 MB / 401.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002826/0.3009, allocations: 2.238 MB / 403.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.301, allocations: 5.031 kB / 403.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.3014, allocations: 63.22 kB / 403.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.3018, allocations: 162.5 kB / 403.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01685/0.3186, allocations: 6.177 MB / 409.9 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.3191, allocations: 304.3 kB / 410.2 MB, free: 7.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.3192, allocations: 20.89 kB / 410.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.3194, allocations: 130.8 kB / 410.3 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.3196, allocations: 119.4 kB / 410.4 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3196, allocations: 11.66 kB / 410.4 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0168/0.3364, allocations: 9.399 MB / 419.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.3366, allocations: 65.84 kB / 419.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.3368, allocations: 89.03 kB / 420 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.348, allocations: 4.693 MB / 424.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.348, allocations: 0 / 424.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.348, allocations: 0 / 424.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.348, allocations: 0 / 424.7 MB, free: 13.89 MB / 350.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.002886/0.3509, allocations: 1.142 MB / 425.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.351, allocations: 12.03 kB / 425.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.462e-05/0.351, allocations: 54.67 kB / 425.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.3512, allocations: 28.55 kB / 425.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.3515, allocations: 212.5 kB / 426.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3515, allocations: 12.33 kB / 426.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.3515, allocations: 23.92 kB / 426.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/0.3523, allocations: 289.4 kB / 426.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3523, allocations: 0 / 426.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.3523, allocations: 8 kB / 426.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.3523, allocations: 4 kB / 426.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007573/0.3531, allocations: 319.6 kB / 426.8 MB, free: 11.7 MB / 350.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.001371/0.3545, allocations: 0.8328 MB / 427.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.3552, allocations: 249.3 kB / 427.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.3555, allocations: 134.8 kB / 428 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01466/0.3702, allocations: 12.85 MB / 440.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.3702, allocations: 42.5 kB / 440.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.3703, allocations: 0 / 440.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002802/0.3731, allocations: 0.6864 MB / 441.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.3731, allocations: 81.11 kB / 441.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3732, allocations: 133.8 kB / 441.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.3733, allocations: 33.64 kB / 441.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.3733, allocations: 108.9 kB / 441.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/0.3734, allocations: 130.9 kB / 442 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3736, allocations: 77.62 kB / 442.1 MB, free: 9.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.3737, allocations: 330.8 kB / 442.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.374, allocations: 131.9 kB / 442.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.3745, allocations: 211.6 kB / 442.8 MB, free: 8.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009006/0.3754, allocations: 355.6 kB / 443.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3754, allocations: 4 kB / 443.1 MB, free: 8.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001143/0.3766, allocations: 417.3 kB / 443.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3766, allocations: 8.219 kB / 443.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3766, allocations: 6.875 kB / 443.5 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3766, allocations: 4 kB / 443.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.3771, allocations: 87.86 kB / 443.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3772, allocations: 11.88 kB / 443.6 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.3775, allocations: 31.88 kB / 443.7 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.3775, allocations: 18.61 kB / 443.7 MB, free: 8.043 MB / 366.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.000137/0.3777, allocations: 141.8 kB / 443.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.3778, allocations: 19.91 kB / 443.8 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.3783, allocations: 187 kB / 444 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.3783, allocations: 15.88 kB / 444 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3783, allocations: 0 / 444 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3783, allocations: 3.984 kB / 444 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.38, allocations: 0.7637 MB / 444.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.38, allocations: 4 kB / 444.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.3804, allocations: 76.97 kB / 444.9 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3804, allocations: 11.94 kB / 444.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.3805, allocations: 12 kB / 444.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3805, allocations: 4 kB / 444.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3805, allocations: 7.922 kB / 444.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.382, allocations: 0.7024 MB / 445.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.3821, allocations: 121 kB / 445.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.3822, allocations: 15.98 kB / 445.8 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.3825, allocations: 15.98 kB / 445.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3826, allocations: 31.84 kB / 445.8 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.3826, allocations: 16.86 kB / 445.8 MB, free: 5.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.278e-05/0.3827, allocations: 103.3 kB / 445.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3827, allocations: 0 / 445.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002467/0.3851, allocations: 0.9394 MB / 446.9 MB, free: 4.727 MB / 366.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.005511/0.3907, allocations: 2.422 MB / 449.3 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009726/0.3917, allocations: 347.5 kB / 449.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3917, allocations: 448 / 449.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.3921, allocations: 179.8 kB / 449.8 MB, free: 1.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.3928, allocations: 91.47 kB / 449.9 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.3983, allocations: 3.146 MB / 453 MB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3985, allocations: 0.741 MB / 453.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000341/0.3989, allocations: 89.95 kB / 453.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.3991, allocations: 71.41 kB / 453.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3991, allocations: 0 / 453.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06155/0.4607, allocations: 33.93 MB / 487.9 MB, free: 11.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.005/9.465, allocations: 7.766 kB / 487.9 MB, free: 11.38 MB / 414.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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