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.00107/0.00107, allocations: 98.03 kB / 16.5 MB, free: 6.695 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.0009967/0.0009967, allocations: 194 kB / 17.42 MB, free: 6.09 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.276/1.276, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 51.02 kB / 300.1 MB, free: 6.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08059/0.08189, allocations: 49.45 MB / 349.5 MB, free: 4.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2948/0.3767, allocations: 149.3 MB / 498.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3785, allocations: 1.599 MB / 0.4887 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.3786, allocations: 0 / 0.4887 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.3789, allocations: 58.58 kB / 0.4887 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.3793, allocations: 148.5 kB / 0.4889 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.3817, allocations: 0.8955 MB / 0.4897 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.3821, allocations: 478.6 kB / 0.4902 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.3822, allocations: 23.11 kB / 0.4902 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.3825, allocations: 139.5 kB / 0.4903 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.3827, allocations: 123.6 kB / 0.4905 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.3827, allocations: 11.94 kB / 0.4905 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.3852, allocations: 1.645 MB / 0.4921 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.689e-05/0.3853, allocations: 67.83 kB / 0.4921 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.3854, allocations: 87.66 kB / 0.4922 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.3871, allocations: 1.029 MB / 0.4932 GB, free: 9.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3871, allocations: 0 / 0.4932 GB, free: 9.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3871, allocations: 0 / 0.4932 GB, free: 9.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3871, allocations: 0 / 0.4932 GB, free: 9.625 MB / 414.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.001684/0.3888, allocations: 0.6832 MB / 0.4939 GB, free: 8.895 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3888, allocations: 8.031 kB / 0.4939 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.3889, allocations: 50.73 kB / 0.494 GB, free: 8.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.389, allocations: 16.84 kB / 0.494 GB, free: 8.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3893, allocations: 215.3 kB / 0.4942 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3893, allocations: 16.33 kB / 0.4942 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.3893, allocations: 12 kB / 0.4942 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/0.3899, allocations: 265.4 kB / 0.4945 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.39, allocations: 0 / 0.4945 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.39, allocations: 8 kB / 0.4945 GB, free: 8.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.39, allocations: 11.98 kB / 0.4945 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006604/0.3907, allocations: 259.8 kB / 0.4947 GB, free: 7.992 MB / 414.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.001497/0.3922, allocations: 0.7863 MB / 0.4955 GB, free: 7.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.3929, allocations: 223.5 kB / 0.4957 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.3932, allocations: 137.6 kB / 0.4958 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.3935, allocations: 356.4 kB / 0.4962 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3936, allocations: 42.5 kB / 0.4962 GB, free: 6.281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.3936, allocations: 0 / 0.4962 GB, free: 6.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002541/0.3961, allocations: 0.6796 MB / 0.4969 GB, free: 5.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.3962, allocations: 81.11 kB / 0.497 GB, free: 5.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3964, allocations: 120.6 kB / 0.4971 GB, free: 5.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.3964, allocations: 29.7 kB / 0.4971 GB, free: 5.344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.3965, allocations: 108.8 kB / 0.4972 GB, free: 5.234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.3966, allocations: 130.1 kB / 0.4973 GB, free: 5.105 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.3967, allocations: 69.69 kB / 0.4974 GB, free: 5.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.3968, allocations: 322.8 kB / 0.4977 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.3972, allocations: 143.8 kB / 0.4978 GB, free: 4.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.3976, allocations: 203.6 kB / 0.498 GB, free: 4.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007683/0.3984, allocations: 362.3 kB / 0.4984 GB, free: 3.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3984, allocations: 0 / 0.4984 GB, free: 3.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009426/0.3994, allocations: 410.9 kB / 0.4988 GB, free: 3.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3994, allocations: 10.66 kB / 0.4988 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3994, allocations: 0 / 0.4988 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3994, allocations: 4 kB / 0.4988 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.3999, allocations: 83.88 kB / 0.4989 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.3999, allocations: 4 kB / 0.4989 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.4003, allocations: 47.88 kB / 0.4989 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.4003, allocations: 8 kB / 0.4989 GB, free: 3.402 MB / 414.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.0001352/0.4005, allocations: 141.8 kB / 0.4991 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.017e-05/0.4006, allocations: 15.81 kB / 0.4991 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.4009, allocations: 178.4 kB / 0.4992 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.401, allocations: 4 kB / 0.4993 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.401, allocations: 0 / 0.4993 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.401, allocations: 7.812 kB / 0.4993 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.4027, allocations: 0.7677 MB / 0.5 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.4027, allocations: 0 / 0.5 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.4031, allocations: 83.88 kB / 0.5001 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4032, allocations: 4 kB / 0.5001 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.4032, allocations: 11.94 kB / 0.5001 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.4032, allocations: 7.984 kB / 0.5001 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4032, allocations: 0 / 0.5001 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.4045, allocations: 0.7109 MB / 0.5008 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4047, allocations: 112.9 kB / 0.5009 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.4047, allocations: 12 kB / 0.5009 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/0.4052, allocations: 31.97 kB / 0.501 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.4052, allocations: 27.91 kB / 0.501 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.4053, allocations: 8 kB / 0.501 GB, free: 1.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.837e-05/0.4053, allocations: 99.27 kB / 0.5011 GB, free: 1.051 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4053, allocations: 0 / 0.5011 GB, free: 1.051 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006497/0.406, allocations: 143.9 kB / 0.5012 GB, free: 0.9102 MB / 414.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.001922/0.4079, allocations: 1.361 MB / 0.5026 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008285/0.4088, allocations: 344 kB / 0.5029 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4088, allocations: 0 / 0.5029 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003929/0.4092, allocations: 179.7 kB / 0.503 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007209/0.4099, allocations: 100.1 kB / 0.5031 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.4142, allocations: 2.862 MB / 0.5059 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.4145, allocations: 0.7448 MB / 0.5067 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004086/0.4149, allocations: 75.08 kB / 0.5067 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.4151, allocations: 63.41 kB / 0.5068 GB, free: 10.98 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4151, allocations: 3.938 kB / 0.5068 GB, free: 10.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.987/2.402, allocations: 7.666 MB / 0.5143 GB, free: 3.422 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/2.402, allocations: 183 kB / 0.5145 GB, free: 3.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/5.255, allocations: 0 / 0.5145 GB, free: 3.164 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 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.mat","/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