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.000832/0.0008321, allocations: 91.77 kB / 16.65 MB, free: 6.602 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.0009646/0.0009646, allocations: 184.8 kB / 17.56 MB, free: 6.199 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.213/1.213, allocations: 223.3 MB / 241.6 MB, free: 92 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002231/0.0002231, allocations: 6.375 kB / 301.5 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08007/0.08031, allocations: 50.42 MB / 351.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2878/0.3681, allocations: 147.4 MB / 499.3 MB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3699, allocations: 1.58 MB / 0.4891 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.37, allocations: 0 / 0.4891 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.3703, allocations: 53.84 kB / 0.4892 GB, free: 456 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.3706, allocations: 153.4 kB / 0.4893 GB, free: 308 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.373, allocations: 0.8845 MB / 0.4902 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.3735, allocations: 486.6 kB / 0.4907 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.3735, allocations: 11.14 kB / 0.4907 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.3738, allocations: 143.5 kB / 0.4908 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.374, allocations: 131.5 kB / 0.4909 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.374, allocations: 8 kB / 0.4909 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.3765, allocations: 1.652 MB / 0.4926 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.3766, allocations: 67.83 kB / 0.4926 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3767, allocations: 109.4 kB / 0.4927 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.3783, allocations: 1.025 MB / 0.4937 GB, free: 11.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3783, allocations: 4 kB / 0.4937 GB, free: 11.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3783, allocations: 0 / 0.4937 GB, free: 11.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3783, allocations: 0 / 0.4937 GB, free: 11.81 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.001545/0.3799, allocations: 0.6404 MB / 0.4944 GB, free: 11.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3799, allocations: 8.031 kB / 0.4944 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.821e-05/0.38, allocations: 51.61 kB / 0.4944 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.3801, allocations: 20.75 kB / 0.4944 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.3804, allocations: 215.3 kB / 0.4946 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3804, allocations: 17.08 kB / 0.4947 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.3805, allocations: 15.94 kB / 0.4947 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.381, allocations: 267.7 kB / 0.4949 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3811, allocations: 0 / 0.4949 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.3811, allocations: 4 kB / 0.4949 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.3811, allocations: 11.98 kB / 0.4949 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006214/0.3818, allocations: 263.8 kB / 0.4952 GB, free: 10.21 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.001325/0.3831, allocations: 0.7903 MB / 0.496 GB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.3837, allocations: 218.2 kB / 0.4962 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.384, allocations: 145.6 kB / 0.4963 GB, free: 8.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/0.3844, allocations: 356.4 kB / 0.4967 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3844, allocations: 38.56 kB / 0.4967 GB, free: 8.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 2.775e-06/0.3844, allocations: 0 / 0.4967 GB, free: 8.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002317/0.3867, allocations: 0.6687 MB / 0.4973 GB, free: 7.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.3868, allocations: 81.11 kB / 0.4974 GB, free: 7.723 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.3869, allocations: 121.7 kB / 0.4975 GB, free: 7.598 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.3869, allocations: 37.69 kB / 0.4976 GB, free: 7.555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.387, allocations: 100.8 kB / 0.4977 GB, free: 7.453 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.987e-05/0.3871, allocations: 130.1 kB / 0.4978 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.3872, allocations: 37.7 kB / 0.4978 GB, free: 7.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3873, allocations: 326.8 kB / 0.4981 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.3876, allocations: 135.9 kB / 0.4983 GB, free: 6.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.3881, allocations: 207.5 kB / 0.4985 GB, free: 6.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000787/0.3889, allocations: 357.8 kB / 0.4988 GB, free: 6.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3889, allocations: 0 / 0.4988 GB, free: 6.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009462/0.3898, allocations: 414.6 kB / 0.4992 GB, free: 5.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3898, allocations: 4 kB / 0.4992 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3899, allocations: 8.219 kB / 0.4992 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3899, allocations: 4 kB / 0.4992 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.3903, allocations: 83.88 kB / 0.4993 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.3903, allocations: 3.938 kB / 0.4993 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.3907, allocations: 43.75 kB / 0.4993 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.3907, allocations: 8 kB / 0.4994 GB, free: 5.652 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.0001298/0.3908, allocations: 145.8 kB / 0.4995 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.3909, allocations: 19.81 kB / 0.4995 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.3913, allocations: 170.4 kB / 0.4997 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3913, allocations: 4 kB / 0.4997 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3913, allocations: 3.875 kB / 0.4997 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3913, allocations: 7.938 kB / 0.4997 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.3929, allocations: 0.7557 MB / 0.5004 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3929, allocations: 8.156 kB / 0.5004 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.3933, allocations: 79.88 kB / 0.5005 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3933, allocations: 4 kB / 0.5005 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.3934, allocations: 11.98 kB / 0.5005 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3934, allocations: 4 kB / 0.5005 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3934, allocations: 3.938 kB / 0.5005 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.3947, allocations: 0.7102 MB / 0.5012 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3948, allocations: 112.9 kB / 0.5013 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.3949, allocations: 12 kB / 0.5013 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.3952, allocations: 28.28 kB / 0.5014 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.3953, allocations: 35.95 kB / 0.5014 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.3953, allocations: 12 kB / 0.5014 GB, free: 3.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.64e-05/0.3954, allocations: 95.2 kB / 0.5015 GB, free: 3.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3954, allocations: 0 / 0.5015 GB, free: 3.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005184/0.3959, allocations: 147.9 kB / 0.5016 GB, free: 3.16 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.002077/0.398, allocations: 1.37 MB / 0.503 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009792/0.399, allocations: 336.1 kB / 0.5033 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.399, allocations: 0 / 0.5033 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.3994, allocations: 183.6 kB / 0.5035 GB, free: 1.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.4001, allocations: 99.72 kB / 0.5036 GB, free: 1.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.4045, allocations: 2.922 MB / 0.5064 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.4048, allocations: 0.7371 MB / 0.5072 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003862/0.4052, allocations: 73.91 kB / 0.5072 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.4053, allocations: 63.41 kB / 0.5073 GB, free: 13.17 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4053, allocations: 0 / 0.5073 GB, free: 13.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07185/0.4772, allocations: 7.588 MB / 0.5147 GB, free: 5.73 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.4775, allocations: 175.8 kB / 0.5149 GB, free: 5.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.318, allocations: 7.938 kB / 0.5149 GB, free: 5.469 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