Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_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.001285/0.001285, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001205/0.001206, allocations: 191 kB / 18.66 MB, free: 4.441 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.253/1.253, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001188/0.001188, allocations: 55.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08314/0.08434, allocations: 46.62 MB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2058/0.2901, allocations: 26.59 MB / 401.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.2932, allocations: 2.233 MB / 403.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.2934, allocations: 5.188 kB / 403.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.2938, allocations: 58.28 kB / 403.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.2942, allocations: 154 kB / 403.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0188/0.313, allocations: 6.156 MB / 409.8 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007872/0.3138, allocations: 312.3 kB / 410.1 MB, free: 7.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.885e-05/0.3139, allocations: 16.16 kB / 410.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.3143, allocations: 131.2 kB / 410.3 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.3147, allocations: 118.6 kB / 410.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/0.3147, allocations: 11.66 kB / 410.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02545/0.3402, allocations: 9.398 MB / 419.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.3404, allocations: 70.39 kB / 419.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.3406, allocations: 89.97 kB / 420 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.3529, allocations: 4.682 MB / 424.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.353, allocations: 4 kB / 424.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.353, allocations: 0 / 424.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.353, allocations: 4 kB / 424.6 MB, free: 13.94 MB / 350.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.004382/0.3574, allocations: 1.104 MB / 425.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3575, allocations: 12.03 kB / 425.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.055e-05/0.3575, allocations: 46.73 kB / 425.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.3578, allocations: 24.5 kB / 425.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.3581, allocations: 214.8 kB / 426 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3581, allocations: 12.33 kB / 426.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.3582, allocations: 23.94 kB / 426.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.3589, allocations: 289.3 kB / 426.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3589, allocations: 4 kB / 426.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.359, allocations: 4 kB / 426.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.359, allocations: 11.94 kB / 426.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000778/0.3598, allocations: 315.6 kB / 426.7 MB, free: 11.79 MB / 350.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.001431/0.3612, allocations: 0.8282 MB / 427.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007169/0.362, allocations: 253.3 kB / 427.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.3623, allocations: 131.5 kB / 427.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0156/0.3779, allocations: 12.84 MB / 440.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.378, allocations: 38.56 kB / 440.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.184e-06/0.378, allocations: 0 / 440.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.00284/0.3808, allocations: 0.6895 MB / 441.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.3809, allocations: 85.11 kB / 441.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.381, allocations: 127.6 kB / 441.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.3811, allocations: 37.64 kB / 441.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.3812, allocations: 104.9 kB / 441.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.3813, allocations: 130 kB / 441.9 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3814, allocations: 77.64 kB / 442 MB, free: 9.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3816, allocations: 330.8 kB / 442.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.3819, allocations: 131.9 kB / 442.5 MB, free: 9.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.3824, allocations: 211.5 kB / 442.7 MB, free: 9.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008906/0.3833, allocations: 368 kB / 443 MB, free: 8.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3833, allocations: 0 / 443 MB, free: 8.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001105/0.3844, allocations: 424.1 kB / 443.4 MB, free: 8.301 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3845, allocations: 4 kB / 443.4 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3845, allocations: 4 kB / 443.4 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.3845, allocations: 4 kB / 443.5 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.385, allocations: 87.88 kB / 443.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.385, allocations: 7.938 kB / 443.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.3853, allocations: 23.97 kB / 443.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.3854, allocations: 20.12 kB / 443.6 MB, free: 8.152 MB / 366.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.0001443/0.3855, allocations: 149.6 kB / 443.7 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.3857, allocations: 20.38 kB / 443.8 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.3861, allocations: 198.6 kB / 443.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3861, allocations: 7.938 kB / 444 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3862, allocations: 0 / 444 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3862, allocations: 0 / 444 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.3878, allocations: 0.7591 MB / 444.7 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.3879, allocations: 7.984 kB / 444.7 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.3883, allocations: 80.05 kB / 444.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/0.3883, allocations: 7.938 kB / 444.8 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.3883, allocations: 11.98 kB / 444.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3884, allocations: 4 kB / 444.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3884, allocations: 0 / 444.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.3898, allocations: 0.7069 MB / 445.5 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3899, allocations: 124.8 kB / 445.7 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.39, allocations: 8 kB / 445.7 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.3903, allocations: 21.92 kB / 445.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.3904, allocations: 35.91 kB / 445.7 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.3904, allocations: 16 kB / 445.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.945e-05/0.3905, allocations: 95.27 kB / 445.8 MB, free: 5.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3905, allocations: 0 / 445.8 MB, free: 5.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002568/0.3931, allocations: 0.9292 MB / 446.8 MB, free: 4.852 MB / 366.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 (37): * Single equations (assignments): 37 * 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.006331/0.3994, allocations: 2.404 MB / 449.2 MB, free: 2.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.4005, allocations: 359.9 kB / 449.5 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4005, allocations: 0 / 449.5 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.4009, allocations: 179.7 kB / 449.7 MB, free: 1.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.4017, allocations: 94.8 kB / 449.8 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005941/0.4076, allocations: 3.124 MB / 452.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.408, allocations: 0.7371 MB / 453.6 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003481/0.4083, allocations: 93.97 kB / 453.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.4085, allocations: 67.39 kB / 453.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4085, allocations: 0 / 453.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06291/0.4715, allocations: 34.01 MB / 487.8 MB, free: 11.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.85/9.322, allocations: 15.67 kB / 487.8 MB, free: 11.44 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches