Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_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.001679/0.001679, allocations: 114.6 kB / 17.07 MB, free: 5.988 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.001799/0.001799, allocations: 193.4 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.92 kB / 350.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2479, allocations: 49.45 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1767/0.4246, allocations: 151.4 MB / 0.5387 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2337/0.6583, allocations: 1.591 MB / 0.5403 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.6585, allocations: 1.188 kB / 0.5403 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.6589, allocations: 61.55 kB / 0.5403 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.6594, allocations: 158.4 kB / 0.5405 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.6625, allocations: 1.025 MB / 0.5415 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006072/0.6631, allocations: 322.5 kB / 0.5418 GB, free: 1.699 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/0.6632, allocations: 13.42 kB / 0.5418 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.6635, allocations: 150 kB / 0.542 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.6638, allocations: 125.1 kB / 0.5421 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.6638, allocations: 17.02 kB / 0.5421 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.667, allocations: 1.583 MB / 0.5436 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.6672, allocations: 71.53 kB / 0.5437 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.6674, allocations: 96.08 kB / 0.5438 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.6694, allocations: 0.9983 MB / 0.5448 GB, free: 1.625 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6694, allocations: 0.9062 kB / 0.5448 GB, free: 1.625 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6694, allocations: 0 / 0.5448 GB, free: 1.625 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.6694, allocations: 1.094 kB / 0.5448 GB, free: 1.625 MB / 462.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.001871/0.6713, allocations: 0.6795 MB / 0.5454 GB, free: 17.15 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.6713, allocations: 8.031 kB / 0.5454 GB, free: 17.15 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.989e-05/0.6714, allocations: 54.53 kB / 0.5455 GB, free: 17.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.6716, allocations: 20.25 kB / 0.5455 GB, free: 17.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.6718, allocations: 225.2 kB / 0.5457 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.6719, allocations: 8.359 kB / 0.5457 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.6719, allocations: 21.25 kB / 0.5458 GB, free: 16.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.6725, allocations: 265.7 kB / 0.546 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.6725, allocations: 0 / 0.546 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.6725, allocations: 5.656 kB / 0.546 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.6725, allocations: 10.62 kB / 0.546 GB, free: 16.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/0.6731, allocations: 267.7 kB / 0.5463 GB, free: 16.84 MB / 478.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.001355/0.6745, allocations: 0.7916 MB / 0.5471 GB, free: 16.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/0.6751, allocations: 222.7 kB / 0.5473 GB, free: 16.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.6754, allocations: 130.6 kB / 0.5474 GB, free: 16.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000412/0.6758, allocations: 363.9 kB / 0.5477 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.6758, allocations: 37.19 kB / 0.5478 GB, free: 15.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 2.706e-06/0.6759, allocations: 0 / 0.5478 GB, free: 15.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002303/0.6782, allocations: 0.6718 MB / 0.5484 GB, free: 15.78 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.6782, allocations: 89.62 kB / 0.5485 GB, free: 15.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.6784, allocations: 124.3 kB / 0.5486 GB, free: 15.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.6784, allocations: 31.58 kB / 0.5487 GB, free: 15.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.149e-05/0.6785, allocations: 109.8 kB / 0.5488 GB, free: 15.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/0.6785, allocations: 131.2 kB / 0.5489 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.955e-05/0.6787, allocations: 65.62 kB / 0.549 GB, free: 15.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.6789, allocations: 329.1 kB / 0.5493 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.6792, allocations: 128.8 kB / 0.5494 GB, free: 15.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.6796, allocations: 215.9 kB / 0.5496 GB, free: 14.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/0.6804, allocations: 364.8 kB / 0.5499 GB, free: 14.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6804, allocations: 4.875 kB / 0.5499 GB, free: 14.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008871/0.6813, allocations: 408 kB / 0.5503 GB, free: 14.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6813, allocations: 8.844 kB / 0.5503 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6813, allocations: 2.281 kB / 0.5503 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.6813, allocations: 4.797 kB / 0.5504 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/0.6818, allocations: 84.67 kB / 0.5504 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6818, allocations: 11.8 kB / 0.5504 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.6821, allocations: 28.81 kB / 0.5505 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.6821, allocations: 15.09 kB / 0.5505 GB, free: 14.84 MB / 478.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.0001575/0.6823, allocations: 144.2 kB / 0.5506 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.6824, allocations: 15.59 kB / 0.5506 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.6827, allocations: 179.6 kB / 0.5508 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.6827, allocations: 3.406 kB / 0.5508 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.6828, allocations: 1.078 kB / 0.5508 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.6828, allocations: 6.344 kB / 0.5508 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.6844, allocations: 0.7596 MB / 0.5516 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6844, allocations: 3.062 kB / 0.5516 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.6848, allocations: 86.33 kB / 0.5516 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.6848, allocations: 3.625 kB / 0.5517 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.6849, allocations: 10.88 kB / 0.5517 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.6849, allocations: 8.812 kB / 0.5517 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6849, allocations: 3.406 kB / 0.5517 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.6862, allocations: 0.7136 MB / 0.5524 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.6863, allocations: 120.7 kB / 0.5525 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.6864, allocations: 10.16 kB / 0.5525 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.6867, allocations: 17.78 kB / 0.5525 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.6868, allocations: 37.25 kB / 0.5525 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.6868, allocations: 14.56 kB / 0.5526 GB, free: 13.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.387e-05/0.6869, allocations: 93.31 kB / 0.5526 GB, free: 13.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.02e-07/0.6869, allocations: 0 / 0.5526 GB, free: 13.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005455/0.6874, allocations: 144.3 kB / 0.5528 GB, free: 13.84 MB / 478.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 (38): * Single equations (assignments): 38 * 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.001945/0.6894, allocations: 1.368 MB / 0.5541 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008519/0.6903, allocations: 351.7 kB / 0.5545 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6903, allocations: 0 / 0.5545 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.6906, allocations: 188.9 kB / 0.5546 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.6913, allocations: 84.38 kB / 0.5547 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/0.6959, allocations: 2.819 MB / 0.5575 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.6963, allocations: 0.7377 MB / 0.5582 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003412/0.6966, allocations: 85.05 kB / 0.5583 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.6968, allocations: 63.3 kB / 0.5583 GB, free: 10.69 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6968, allocations: 0 / 0.5583 GB, free: 10.69 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.7286, allocations: 8.045 MB / 0.5662 GB, free: 10.04 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/9.061, allocations: 6.562 kB / 0.5662 GB, free: 10.03 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.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_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches