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.001591/0.001591, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001931/0.001931, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.237, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02879/0.2658, allocations: 26.63 MB / 435.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.2684, allocations: 2.243 MB / 437.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.443e-05/0.2685, allocations: 8 kB / 437.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.2689, allocations: 71.56 kB / 437.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.2693, allocations: 159 kB / 437.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01434/0.2836, allocations: 6.539 MB / 444.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.2841, allocations: 342.7 kB / 444.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.2841, allocations: 17.55 kB / 444.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.2844, allocations: 135.5 kB / 444.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.2845, allocations: 123.6 kB / 445 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.2846, allocations: 19.98 kB / 445 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01548/0.3001, allocations: 9.53 MB / 454.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.3002, allocations: 71.8 kB / 454.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.3004, allocations: 103.6 kB / 454.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009631/0.3101, allocations: 4.739 MB / 459.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3101, allocations: 4 kB / 459.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3101, allocations: 0 / 459.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3101, allocations: 0 / 459.5 MB, free: 14.69 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.003315/0.3135, allocations: 1.173 MB / 460.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3135, allocations: 12.03 kB / 460.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/0.3136, allocations: 54.67 kB / 460.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.3138, allocations: 24.03 kB / 460.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3141, allocations: 226.4 kB / 461 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3141, allocations: 20.31 kB / 461 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.3141, allocations: 19.95 kB / 461 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.3149, allocations: 281.4 kB / 461.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.3149, allocations: 7.984 kB / 461.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.3149, allocations: 4 kB / 461.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.315, allocations: 11.94 kB / 461.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007867/0.3158, allocations: 315.7 kB / 461.6 MB, free: 12.45 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.00144/0.3172, allocations: 0.8206 MB / 462.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000717/0.3179, allocations: 249.1 kB / 462.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.3183, allocations: 145.6 kB / 462.8 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0151/0.3334, allocations: 12.85 MB / 475.7 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3334, allocations: 42.5 kB / 475.7 MB, free: 11.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.3335, allocations: 0 / 475.7 MB, free: 11.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002898/0.3364, allocations: 0.7024 MB / 476.4 MB, free: 11.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.3364, allocations: 81.11 kB / 476.5 MB, free: 10.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3366, allocations: 151.8 kB / 476.6 MB, free: 10.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.3366, allocations: 33.7 kB / 476.7 MB, free: 10.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.3367, allocations: 116.9 kB / 476.8 MB, free: 10.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.3368, allocations: 134.8 kB / 476.9 MB, free: 10.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3369, allocations: 69.64 kB / 477 MB, free: 10.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.337, allocations: 338.8 kB / 477.3 MB, free: 10.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.3374, allocations: 135.9 kB / 477.4 MB, free: 9.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.3379, allocations: 199.6 kB / 477.6 MB, free: 9.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/0.3389, allocations: 371.4 kB / 478 MB, free: 9.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3389, allocations: 0 / 478 MB, free: 9.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001148/0.3401, allocations: 424.7 kB / 478.4 MB, free: 8.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3401, allocations: 4 kB / 478.4 MB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3401, allocations: 4 kB / 478.4 MB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.3401, allocations: 7.938 kB / 478.4 MB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.3406, allocations: 92.09 kB / 478.5 MB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.3406, allocations: 7.938 kB / 478.5 MB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.3409, allocations: 27.92 kB / 478.5 MB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.341, allocations: 16 kB / 478.6 MB, free: 8.742 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.0001509/0.3411, allocations: 149.6 kB / 478.7 MB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.3413, allocations: 19.91 kB / 478.7 MB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.3417, allocations: 190.6 kB / 478.9 MB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3418, allocations: 4 kB / 478.9 MB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3418, allocations: 7.938 kB / 478.9 MB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3418, allocations: 3.984 kB / 478.9 MB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.3435, allocations: 0.7792 MB / 479.7 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3435, allocations: 0 / 479.7 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.344, allocations: 83.88 kB / 479.8 MB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.344, allocations: 4 kB / 479.8 MB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.344, allocations: 8 kB / 479.8 MB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.344, allocations: 7.938 kB / 479.8 MB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.344, allocations: 0 / 479.8 MB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.3456, allocations: 0.7251 MB / 480.5 MB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.3457, allocations: 132.9 kB / 480.7 MB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.3458, allocations: 4 kB / 480.7 MB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.3461, allocations: 24.05 kB / 480.7 MB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.3462, allocations: 27.91 kB / 480.7 MB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.3462, allocations: 19.98 kB / 480.7 MB, free: 6.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.265e-05/0.3463, allocations: 114.1 kB / 480.9 MB, free: 6.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3463, allocations: 3.938 kB / 480.9 MB, free: 6.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002786/0.3491, allocations: 0.9589 MB / 481.8 MB, free: 5.355 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.006347/0.3555, allocations: 2.422 MB / 484.2 MB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.3566, allocations: 359.5 kB / 484.6 MB, free: 2.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.3566, allocations: 4 kB / 484.6 MB, free: 2.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.3571, allocations: 176.5 kB / 484.8 MB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.3579, allocations: 107.9 kB / 484.9 MB, free: 2.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006304/0.3642, allocations: 3.244 MB / 488.1 MB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.3645, allocations: 0.7452 MB / 488.9 MB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003569/0.3649, allocations: 74.41 kB / 488.9 MB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.3651, allocations: 83.39 kB / 489 MB, free: 13.93 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3651, allocations: 0 / 489 MB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06261/0.4278, allocations: 33.07 MB / 0.5098 GB, free: 12.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.046/9.474, allocations: 10.73 kB / 0.5099 GB, free: 12.93 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.0.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