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.001191/0.001191, allocations: 107.3 kB / 16.92 MB, free: 6.145 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.001196/0.001196, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.279/1.279, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008827/0.0008827, allocations: 46.47 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08411, allocations: 49.45 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3065/0.3906, allocations: 151.4 MB / 0.4898 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3923, allocations: 1.594 MB / 0.4914 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.3923, allocations: 7.938 kB / 0.4914 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.3926, allocations: 55.7 kB / 0.4915 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.393, allocations: 157.3 kB / 0.4916 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.3955, allocations: 1.02 MB / 0.4926 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.3958, allocations: 326.9 kB / 0.4929 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.3958, allocations: 17.42 kB / 0.4929 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.3961, allocations: 147.5 kB / 0.4931 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.3963, allocations: 123.6 kB / 0.4932 GB, free: 9.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.3963, allocations: 12 kB / 0.4932 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.3985, allocations: 1.54 MB / 0.4947 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.415e-05/0.3986, allocations: 79.83 kB / 0.4948 GB, free: 8.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.3988, allocations: 87.66 kB / 0.4949 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.4, allocations: 0.9978 MB / 0.4958 GB, free: 7.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.4001, allocations: 0 / 0.4958 GB, free: 7.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.4001, allocations: 4 kB / 0.4958 GB, free: 7.055 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.4001, allocations: 0 / 0.4958 GB, free: 7.055 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.001505/0.4016, allocations: 0.6715 MB / 0.4965 GB, free: 6.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.4016, allocations: 12.03 kB / 0.4965 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.193e-05/0.4017, allocations: 50.67 kB / 0.4966 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.4018, allocations: 16.84 kB / 0.4966 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.402, allocations: 219.3 kB / 0.4968 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4021, allocations: 12.33 kB / 0.4968 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.4021, allocations: 15.98 kB / 0.4968 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.4026, allocations: 257.4 kB / 0.4971 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4027, allocations: 3.984 kB / 0.4971 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.4027, allocations: 8 kB / 0.4971 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.4027, allocations: 8 kB / 0.4971 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000623/0.4034, allocations: 267.7 kB / 0.4973 GB, free: 5.426 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.00129/0.4047, allocations: 0.7936 MB / 0.4981 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.4053, allocations: 225.7 kB / 0.4983 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.4056, allocations: 133.6 kB / 0.4984 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.4059, allocations: 352.4 kB / 0.4988 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.4059, allocations: 42.5 kB / 0.4988 GB, free: 3.711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.4059, allocations: 3.281 kB / 0.4988 GB, free: 3.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00237/0.4083, allocations: 0.6678 MB / 0.4995 GB, free: 3.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.4084, allocations: 85.05 kB / 0.4996 GB, free: 2.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.4085, allocations: 125.8 kB / 0.4997 GB, free: 2.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.4085, allocations: 37.7 kB / 0.4997 GB, free: 2.762 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.4085, allocations: 104.8 kB / 0.4998 GB, free: 2.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/0.4086, allocations: 130.1 kB / 0.4999 GB, free: 2.527 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.4088, allocations: 65.69 kB / 0.5 GB, free: 2.457 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.4089, allocations: 326.8 kB / 0.5003 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.4092, allocations: 135.8 kB / 0.5004 GB, free: 1.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.4096, allocations: 207.6 kB / 0.5006 GB, free: 1.766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.4104, allocations: 358.9 kB / 0.501 GB, free: 1.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4104, allocations: 0 / 0.501 GB, free: 1.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000924/0.4114, allocations: 414.8 kB / 0.5014 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.4114, allocations: 4 kB / 0.5014 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4114, allocations: 4 kB / 0.5014 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4114, allocations: 4 kB / 0.5014 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.4119, allocations: 87.81 kB / 0.5015 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.4119, allocations: 4 kB / 0.5015 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.4122, allocations: 40.06 kB / 0.5015 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.4123, allocations: 8 kB / 0.5015 GB, free: 0.832 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.0001385/0.4124, allocations: 141.8 kB / 0.5017 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.4125, allocations: 15.81 kB / 0.5017 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.4128, allocations: 184.7 kB / 0.5019 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4129, allocations: 4.375 kB / 0.5019 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4129, allocations: 0.875 kB / 0.5019 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4129, allocations: 3.938 kB / 0.5019 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.4145, allocations: 0.7558 MB / 0.5026 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4145, allocations: 3.938 kB / 0.5026 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.4149, allocations: 87.81 kB / 0.5027 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4149, allocations: 4 kB / 0.5027 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.415, allocations: 12.61 kB / 0.5027 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.415, allocations: 7.938 kB / 0.5027 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.415, allocations: 0 / 0.5027 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.4163, allocations: 0.7071 MB / 0.5034 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.4164, allocations: 116.8 kB / 0.5035 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.4165, allocations: 15.81 kB / 0.5035 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.4168, allocations: 28.03 kB / 0.5036 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.4169, allocations: 23.97 kB / 0.5036 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.4169, allocations: 8 kB / 0.5036 GB, free: 14.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.522e-05/0.417, allocations: 95.27 kB / 0.5037 GB, free: 14.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.417, allocations: 0 / 0.5037 GB, free: 14.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000565/0.4175, allocations: 151.8 kB / 0.5038 GB, free: 14.34 MB / 430.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.001879/0.4194, allocations: 1.361 MB / 0.5051 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008866/0.4203, allocations: 363.9 kB / 0.5055 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4203, allocations: 0 / 0.5055 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.4207, allocations: 179.7 kB / 0.5057 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.4214, allocations: 111.5 kB / 0.5058 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.4258, allocations: 2.796 MB / 0.5085 GB, free: 9.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.4261, allocations: 0.7371 MB / 0.5092 GB, free: 8.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003854/0.4265, allocations: 78.05 kB / 0.5093 GB, free: 8.508 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.4266, allocations: 63.41 kB / 0.5094 GB, free: 8.445 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4266, allocations: 0 / 0.5094 GB, free: 8.445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8612/1.288, allocations: 7.965 MB / 0.5171 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.832/11.12, allocations: 15.69 kB / 0.5172 GB, free: 0.5586 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