Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 115.7 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 201.2 kB / 18.73 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 63.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2615, allocations: 50.54 MB / 408.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03373/0.2952, allocations: 26.65 MB / 435.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.2984, allocations: 2.239 MB / 437.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.2985, allocations: 0 / 437.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.2989, allocations: 67.58 kB / 437.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.2994, allocations: 163 kB / 437.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01631/0.3157, allocations: 6.52 MB / 444.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005266/0.3162, allocations: 334.7 kB / 444.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.573e-05/0.3163, allocations: 17.55 kB / 444.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.3165, allocations: 143.5 kB / 444.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.3168, allocations: 119.6 kB / 445 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.3168, allocations: 12 kB / 445 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01685/0.3337, allocations: 9.534 MB / 454.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.3338, allocations: 71.73 kB / 454.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.334, allocations: 107.6 kB / 454.7 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.3444, allocations: 4.74 MB / 459.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3444, allocations: 0 / 459.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3444, allocations: 0 / 459.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3444, allocations: 4 kB / 459.4 MB, free: 14.75 MB / 382.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.003195/0.3476, allocations: 1.177 MB / 460.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3477, allocations: 16.03 kB / 460.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.491e-05/0.3478, allocations: 46.73 kB / 460.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.3479, allocations: 32.02 kB / 460.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.3482, allocations: 214.8 kB / 460.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3482, allocations: 12.33 kB / 460.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.3483, allocations: 19.95 kB / 461 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.349, allocations: 289.5 kB / 461.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.349, allocations: 0 / 461.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.3491, allocations: 4 kB / 461.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.3491, allocations: 11.94 kB / 461.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.3499, allocations: 315.7 kB / 461.6 MB, free: 12.52 MB / 382.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.001465/0.3514, allocations: 0.8245 MB / 462.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.3521, allocations: 249.1 kB / 462.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.3524, allocations: 145.6 kB / 462.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01679/0.3692, allocations: 12.85 MB / 475.6 MB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.3693, allocations: 38.5 kB / 475.7 MB, free: 11.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.3693, allocations: 4 kB / 475.7 MB, free: 11.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002885/0.3722, allocations: 0.6987 MB / 476.4 MB, free: 11.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.3722, allocations: 85.05 kB / 476.4 MB, free: 10.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3724, allocations: 144.2 kB / 476.6 MB, free: 10.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.3724, allocations: 33.7 kB / 476.6 MB, free: 10.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.3725, allocations: 116.9 kB / 476.7 MB, free: 10.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.3726, allocations: 134.8 kB / 476.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.3728, allocations: 69.64 kB / 476.9 MB, free: 10.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3729, allocations: 338.8 kB / 477.3 MB, free: 10.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.3733, allocations: 131.9 kB / 477.4 MB, free: 10 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.3738, allocations: 207.6 kB / 477.6 MB, free: 9.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009029/0.3747, allocations: 367.2 kB / 478 MB, free: 9.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3748, allocations: 7.938 kB / 478 MB, free: 9.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001138/0.3759, allocations: 424.9 kB / 478.4 MB, free: 8.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3759, allocations: 4 kB / 478.4 MB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3759, allocations: 4 kB / 478.4 MB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.376, allocations: 7.938 kB / 478.4 MB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.3764, allocations: 91.8 kB / 478.5 MB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3765, allocations: 7.938 kB / 478.5 MB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.3768, allocations: 27.94 kB / 478.5 MB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.3768, allocations: 15.98 kB / 478.5 MB, free: 8.809 MB / 398.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.0002108/0.377, allocations: 149.7 kB / 478.7 MB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.3772, allocations: 23.89 kB / 478.7 MB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.3777, allocations: 194.6 kB / 478.9 MB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.3777, allocations: 7.984 kB / 478.9 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.3777, allocations: 4 kB / 478.9 MB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3777, allocations: 0 / 478.9 MB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.3795, allocations: 0.7714 MB / 479.7 MB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3795, allocations: 4 kB / 479.7 MB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/0.3799, allocations: 83.97 kB / 479.8 MB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3799, allocations: 4 kB / 479.8 MB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.38, allocations: 15.98 kB / 479.8 MB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.38, allocations: 4 kB / 479.8 MB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.38, allocations: 0 / 479.8 MB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.3815, allocations: 0.7208 MB / 480.5 MB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.3817, allocations: 124.9 kB / 480.6 MB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.3818, allocations: 8 kB / 480.6 MB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.3822, allocations: 23.97 kB / 480.7 MB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.3822, allocations: 23.91 kB / 480.7 MB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.3822, allocations: 20.06 kB / 480.7 MB, free: 6.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.52e-05/0.3823, allocations: 117.4 kB / 480.8 MB, free: 6.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.047e-06/0.3823, allocations: 0 / 480.8 MB, free: 6.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002707/0.3851, allocations: 0.9666 MB / 481.8 MB, free: 5.422 MB / 398.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.005818/0.3909, allocations: 2.418 MB / 484.2 MB, free: 2.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009978/0.3919, allocations: 348.6 kB / 484.5 MB, free: 2.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3919, allocations: 8 kB / 484.6 MB, free: 2.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.3924, allocations: 182.2 kB / 484.7 MB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.3931, allocations: 104.1 kB / 484.8 MB, free: 2.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005963/0.3991, allocations: 3.252 MB / 488.1 MB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.3996, allocations: 0.7452 MB / 488.8 MB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000349/0.3999, allocations: 90.31 kB / 488.9 MB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.4002, allocations: 75.39 kB / 489 MB, free: 13.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4002, allocations: 0 / 489 MB, free: 13.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07434/0.4745, allocations: 33.07 MB / 0.5098 GB, free: 13.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.754/10.23, allocations: 7.922 kB / 0.5098 GB, free: 13 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches