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.001258/0.001258, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001209/0.001209, allocations: 187 kB / 18.67 MB, free: 4.402 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.374/1.374, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001582/0.001582, allocations: 51.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.09087, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1985/0.2894, allocations: 26.58 MB / 401.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.2928, allocations: 2.236 MB / 403.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.228e-05/0.2929, allocations: 4.938 kB / 403.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.2933, allocations: 63.19 kB / 403.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.2937, allocations: 156.6 kB / 403.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01965/0.3134, allocations: 6.157 MB / 409.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004995/0.3139, allocations: 308.2 kB / 410.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.314, allocations: 13.38 kB / 410.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.3142, allocations: 134.3 kB / 410.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.3144, allocations: 123 kB / 410.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.3144, allocations: 10.84 kB / 410.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01876/0.3332, allocations: 9.392 MB / 419.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.3334, allocations: 66.47 kB / 419.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.3336, allocations: 89.69 kB / 420 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.3466, allocations: 4.698 MB / 424.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3466, allocations: 3.938 kB / 424.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3466, allocations: 0 / 424.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.3466, allocations: 0 / 424.7 MB, free: 13.9 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.003419/0.35, allocations: 1.142 MB / 425.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3501, allocations: 12.03 kB / 425.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.309e-05/0.3502, allocations: 50.73 kB / 425.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.3503, allocations: 28.55 kB / 425.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.3506, allocations: 210.9 kB / 426.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3506, allocations: 12.33 kB / 426.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.3507, allocations: 15.94 kB / 426.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007435/0.3514, allocations: 289.4 kB / 426.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3515, allocations: 0 / 426.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.3515, allocations: 8.656 kB / 426.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.3515, allocations: 11.92 kB / 426.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008313/0.3524, allocations: 311.6 kB / 426.7 MB, free: 11.71 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.00147/0.3538, allocations: 0.8367 MB / 427.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.3546, allocations: 252.2 kB / 427.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.3549, allocations: 138.7 kB / 427.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01715/0.3721, allocations: 12.84 MB / 440.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.3722, allocations: 38.56 kB / 440.8 MB, free: 11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.3722, allocations: 0 / 440.8 MB, free: 11 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002992/0.3752, allocations: 0.6939 MB / 441.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.3753, allocations: 85.11 kB / 441.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.3754, allocations: 125.8 kB / 441.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.3754, allocations: 33.64 kB / 441.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.3755, allocations: 104.9 kB / 441.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.3756, allocations: 134.8 kB / 442 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3758, allocations: 73.64 kB / 442.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3759, allocations: 334.8 kB / 442.4 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.3764, allocations: 131.9 kB / 442.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000518/0.3769, allocations: 211.6 kB / 442.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009768/0.3779, allocations: 356 kB / 443.1 MB, free: 8.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3779, allocations: 6.5 kB / 443.1 MB, free: 8.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001212/0.3791, allocations: 413.5 kB / 443.5 MB, free: 8.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3791, allocations: 12 kB / 443.5 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3791, allocations: 4 kB / 443.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3792, allocations: 0 / 443.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.3796, allocations: 91.81 kB / 443.6 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.3797, allocations: 11.92 kB / 443.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.38, allocations: 31.88 kB / 443.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.38, allocations: 21.62 kB / 443.7 MB, free: 8.051 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.0001628/0.3802, allocations: 141.7 kB / 443.8 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.3803, allocations: 19.91 kB / 443.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.3809, allocations: 190.2 kB / 444 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.3809, allocations: 7.938 kB / 444 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3809, allocations: 0 / 444 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3809, allocations: 3.984 kB / 444 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.3827, allocations: 0.7637 MB / 444.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3827, allocations: 1.078 kB / 444.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.3831, allocations: 80.03 kB / 444.9 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3831, allocations: 7.938 kB / 444.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.3832, allocations: 16 kB / 444.9 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3832, allocations: 3.938 kB / 444.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.3832, allocations: 4 kB / 444.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.3848, allocations: 0.7084 MB / 445.6 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.3849, allocations: 117 kB / 445.7 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.385, allocations: 12 kB / 445.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.3853, allocations: 23.97 kB / 445.7 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.3854, allocations: 27.91 kB / 445.8 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.3854, allocations: 16.05 kB / 445.8 MB, free: 5.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.635e-05/0.3855, allocations: 103.3 kB / 445.9 MB, free: 5.684 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3855, allocations: 0 / 445.9 MB, free: 5.684 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00269/0.3882, allocations: 0.9394 MB / 446.8 MB, free: 4.742 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.006185/0.3944, allocations: 2.426 MB / 449.3 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.3955, allocations: 351.5 kB / 449.6 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3955, allocations: 448 / 449.6 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.396, allocations: 171.8 kB / 449.8 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007295/0.3968, allocations: 104.1 kB / 449.9 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/0.403, allocations: 3.147 MB / 453 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.4034, allocations: 0.7371 MB / 453.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.4038, allocations: 89.97 kB / 453.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.404, allocations: 71.41 kB / 453.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.464e-06/0.404, allocations: 0 / 453.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0748/0.4788, allocations: 33.91 MB / 487.8 MB, free: 11.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.452/9.931, allocations: 15.83 kB / 487.8 MB, free: 11.4 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