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.001342/0.001342, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001371/0.001371, allocations: 190 kB / 17.55 MB, free: 6.066 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.316/1.316, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009809/0.0009809, allocations: 46.95 kB / 300.2 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.08524, allocations: 49.45 MB / 349.7 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2954/0.3807, allocations: 149.3 MB / 499 MB, free: 15.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3825, allocations: 1.58 MB / 0.4889 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.3826, allocations: 4 kB / 0.4889 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.383, allocations: 62.33 kB / 0.4889 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.3833, allocations: 147.5 kB / 0.4891 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.3858, allocations: 0.9205 MB / 0.49 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.3861, allocations: 326.9 kB / 0.4903 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.3862, allocations: 9.453 kB / 0.4903 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.3864, allocations: 159.4 kB / 0.4904 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.3866, allocations: 135.6 kB / 0.4906 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.3867, allocations: 12 kB / 0.4906 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.3888, allocations: 1.594 MB / 0.4921 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.856e-05/0.3889, allocations: 63.84 kB / 0.4922 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.389, allocations: 99.64 kB / 0.4923 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.3904, allocations: 1.033 MB / 0.4933 GB, free: 9.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3904, allocations: 0 / 0.4933 GB, free: 9.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3904, allocations: 0 / 0.4933 GB, free: 9.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3904, allocations: 4 kB / 0.4933 GB, free: 9.59 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.001667/0.3921, allocations: 0.6793 MB / 0.494 GB, free: 8.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3921, allocations: 12.03 kB / 0.494 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6e-05/0.3922, allocations: 47.61 kB / 0.494 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.3923, allocations: 16.84 kB / 0.494 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.3926, allocations: 219.3 kB / 0.4942 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.3926, allocations: 16.31 kB / 0.4943 GB, free: 8.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.3927, allocations: 12 kB / 0.4943 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.3933, allocations: 269.4 kB / 0.4945 GB, free: 8.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3933, allocations: 0 / 0.4945 GB, free: 8.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.3934, allocations: 11.56 kB / 0.4945 GB, free: 8.219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.3934, allocations: 4 kB / 0.4945 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.3942, allocations: 263.8 kB / 0.4948 GB, free: 7.957 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.001523/0.3957, allocations: 0.8011 MB / 0.4956 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.3963, allocations: 221.1 kB / 0.4958 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.3967, allocations: 133.6 kB / 0.4959 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/0.397, allocations: 356.4 kB / 0.4963 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3971, allocations: 42.56 kB / 0.4963 GB, free: 6.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.3971, allocations: 0 / 0.4963 GB, free: 6.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002489/0.3996, allocations: 0.6648 MB / 0.4969 GB, free: 5.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.3996, allocations: 81.11 kB / 0.497 GB, free: 5.469 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.3997, allocations: 125.8 kB / 0.4971 GB, free: 5.336 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.3998, allocations: 37.7 kB / 0.4972 GB, free: 5.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.3998, allocations: 96.8 kB / 0.4973 GB, free: 5.195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3999, allocations: 134.1 kB / 0.4974 GB, free: 5.062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.4001, allocations: 65.69 kB / 0.4975 GB, free: 4.992 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4002, allocations: 326.8 kB / 0.4978 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.4006, allocations: 143.8 kB / 0.4979 GB, free: 4.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.401, allocations: 199.6 kB / 0.4981 GB, free: 4.301 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/0.4018, allocations: 362.4 kB / 0.4984 GB, free: 3.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4018, allocations: 0 / 0.4984 GB, free: 3.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000934/0.4027, allocations: 414.8 kB / 0.4988 GB, free: 3.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4028, allocations: 4 kB / 0.4988 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4028, allocations: 4 kB / 0.4989 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.4028, allocations: 0 / 0.4989 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.4033, allocations: 92.09 kB / 0.4989 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.4033, allocations: 0 / 0.4989 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.4036, allocations: 43.78 kB / 0.499 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.4037, allocations: 8 kB / 0.499 GB, free: 3.363 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.0001471/0.4038, allocations: 141.8 kB / 0.4991 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.4039, allocations: 19.81 kB / 0.4991 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.4043, allocations: 182.1 kB / 0.4993 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4043, allocations: 6.625 kB / 0.4993 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4043, allocations: 4 kB / 0.4993 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.4043, allocations: 7.938 kB / 0.4993 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.4059, allocations: 0.7518 MB / 0.5001 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4059, allocations: 7.984 kB / 0.5001 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.4064, allocations: 75.89 kB / 0.5001 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.4064, allocations: 8.156 kB / 0.5002 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.4064, allocations: 12.8 kB / 0.5002 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.4064, allocations: 4 kB / 0.5002 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4064, allocations: 0 / 0.5002 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.4077, allocations: 0.7171 MB / 0.5009 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.4078, allocations: 112.9 kB / 0.501 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.4079, allocations: 12 kB / 0.501 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.4083, allocations: 27.91 kB / 0.501 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.4083, allocations: 27.91 kB / 0.501 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.4084, allocations: 15.98 kB / 0.5011 GB, free: 1.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.882e-05/0.4084, allocations: 91.34 kB / 0.5011 GB, free: 1.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4084, allocations: 0 / 0.5011 GB, free: 1.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005383/0.409, allocations: 147.9 kB / 0.5013 GB, free: 0.875 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.001859/0.4108, allocations: 1.361 MB / 0.5026 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008762/0.4117, allocations: 363.5 kB / 0.503 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4117, allocations: 0 / 0.503 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.4121, allocations: 184.5 kB / 0.5031 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006941/0.4128, allocations: 103.8 kB / 0.5032 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.4171, allocations: 2.871 MB / 0.506 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.4173, allocations: 0.7371 MB / 0.5068 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003914/0.4177, allocations: 73.91 kB / 0.5068 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.4179, allocations: 63.41 kB / 0.5069 GB, free: 10.91 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4179, allocations: 4 kB / 0.5069 GB, free: 10.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9482/1.366, allocations: 7.856 MB / 0.5146 GB, free: 3.188 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/1.366, allocations: 187 kB / 0.5147 GB, free: 2.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.233/4.6, allocations: 0 / 0.5147 GB, free: 2.93 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