Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_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.001499/0.001499, allocations: 113.8 kB / 17.73 MB, free: 5.23 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.001684/0.001684, allocations: 187.1 kB / 18.66 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 56.34 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.09761, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3781/0.4758, allocations: 152.7 MB / 0.515 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.4771, allocations: 0.5965 MB / 0.5156 GB, free: 6.062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.4773, allocations: 4 kB / 0.5156 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.4779, allocations: 63.64 kB / 0.5156 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.4784, allocations: 155.1 kB / 0.5158 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003849/0.4822, allocations: 1.075 MB / 0.5168 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.4828, allocations: 338.8 kB / 0.5172 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.58e-05/0.4828, allocations: 13.39 kB / 0.5172 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.4832, allocations: 158.9 kB / 0.5173 GB, free: 4.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.4835, allocations: 115.6 kB / 0.5174 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.4836, allocations: 12 kB / 0.5174 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.4868, allocations: 1.618 MB / 0.519 GB, free: 2.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.4869, allocations: 59.86 kB / 0.5191 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.4871, allocations: 107.6 kB / 0.5192 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.4894, allocations: 1 MB / 0.5202 GB, free: 1.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4894, allocations: 0 / 0.5202 GB, free: 1.355 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4894, allocations: 0 / 0.5202 GB, free: 1.355 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.4894, allocations: 3.938 kB / 0.5202 GB, free: 1.352 MB / 446.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.001956/0.4914, allocations: 0.685 MB / 0.5208 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4914, allocations: 12.03 kB / 0.5208 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.306e-05/0.4915, allocations: 46.73 kB / 0.5209 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.4917, allocations: 20.84 kB / 0.5209 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.492, allocations: 223.7 kB / 0.5211 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.492, allocations: 12.33 kB / 0.5211 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.4921, allocations: 16 kB / 0.5211 GB, free: 252 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.4927, allocations: 257.4 kB / 0.5214 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.4927, allocations: 7.938 kB / 0.5214 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.4928, allocations: 4 kB / 0.5214 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.4928, allocations: 12 kB / 0.5214 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/0.4934, allocations: 267.7 kB / 0.5217 GB, free: 15.7 MB / 462.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.001517/0.495, allocations: 0.797 MB / 0.5224 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.4956, allocations: 217.2 kB / 0.5227 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.496, allocations: 137.6 kB / 0.5228 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/0.4963, allocations: 360.4 kB / 0.5231 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.4964, allocations: 34.56 kB / 0.5232 GB, free: 13.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.4964, allocations: 0 / 0.5232 GB, free: 13.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002497/0.4989, allocations: 0.6819 MB / 0.5238 GB, free: 13.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.4989, allocations: 81.11 kB / 0.5239 GB, free: 13.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.4991, allocations: 121.8 kB / 0.524 GB, free: 13.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.4991, allocations: 29.7 kB / 0.5241 GB, free: 13.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.4992, allocations: 108.9 kB / 0.5242 GB, free: 12.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.4993, allocations: 126.9 kB / 0.5243 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.4994, allocations: 73.58 kB / 0.5243 GB, free: 12.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4996, allocations: 330.8 kB / 0.5247 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.5, allocations: 131.9 kB / 0.5248 GB, free: 12.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.5004, allocations: 216.4 kB / 0.525 GB, free: 12.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008304/0.5013, allocations: 351.4 kB / 0.5253 GB, free: 11.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.5013, allocations: 8.375 kB / 0.5253 GB, free: 11.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001056/0.5023, allocations: 401.5 kB / 0.5257 GB, free: 11.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5024, allocations: 12.03 kB / 0.5257 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5024, allocations: 7.922 kB / 0.5257 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.5024, allocations: 7.938 kB / 0.5257 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.5029, allocations: 83.88 kB / 0.5258 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.5029, allocations: 6.875 kB / 0.5258 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.5032, allocations: 27.92 kB / 0.5259 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.5033, allocations: 15.98 kB / 0.5259 GB, free: 11.09 MB / 462.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.0001618/0.5035, allocations: 149.7 kB / 0.526 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.5036, allocations: 19.84 kB / 0.526 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.504, allocations: 181.9 kB / 0.5262 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.504, allocations: 4 kB / 0.5262 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.504, allocations: 4 kB / 0.5262 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.504, allocations: 3.984 kB / 0.5262 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.5058, allocations: 0.7572 MB / 0.527 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5059, allocations: 7.938 kB / 0.527 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.5063, allocations: 76.05 kB / 0.527 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.5063, allocations: 4 kB / 0.527 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.5063, allocations: 11.98 kB / 0.5271 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.5064, allocations: 4 kB / 0.5271 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5064, allocations: 0 / 0.5271 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.5077, allocations: 0.712 MB / 0.5278 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.5079, allocations: 117 kB / 0.5279 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.508, allocations: 15.98 kB / 0.5279 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.5083, allocations: 15.98 kB / 0.5279 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.5084, allocations: 28.03 kB / 0.5279 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.5084, allocations: 15.98 kB / 0.5279 GB, free: 8.844 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.462e-05/0.5085, allocations: 95.27 kB / 0.528 GB, free: 8.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5085, allocations: 0 / 0.528 GB, free: 8.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005941/0.5091, allocations: 143.7 kB / 0.5282 GB, free: 8.609 MB / 462.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.002135/0.5112, allocations: 1.383 MB / 0.5295 GB, free: 7.188 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009383/0.5122, allocations: 355.8 kB / 0.5299 GB, free: 6.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.5122, allocations: 288 / 0.5299 GB, free: 6.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004246/0.5126, allocations: 176.2 kB / 0.53 GB, free: 6.668 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.5134, allocations: 104.9 kB / 0.5301 GB, free: 6.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.5181, allocations: 2.831 MB / 0.5329 GB, free: 3.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.5184, allocations: 0.741 MB / 0.5336 GB, free: 2.812 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003324/0.5188, allocations: 69.91 kB / 0.5337 GB, free: 2.742 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.519, allocations: 63.41 kB / 0.5337 GB, free: 2.68 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.519, allocations: 0 / 0.5337 GB, free: 2.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.5492, allocations: 8.24 MB / 0.5418 GB, free: 10.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.411, allocations: 15.83 kB / 0.5418 GB, free: 10.37 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches