Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_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.001262/0.001262, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001342/0.001342, allocations: 200 kB / 18.01 MB, free: 5.047 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.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 47.94 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2541, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03274/0.2868, allocations: 26.44 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.2899, allocations: 2.231 MB / 428.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.979e-05/0.29, allocations: 4 kB / 428.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.2905, allocations: 67.64 kB / 429 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.291, allocations: 151.1 kB / 429.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01514/0.3061, allocations: 6.501 MB / 435.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.3066, allocations: 310.9 kB / 435.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.3067, allocations: 13.11 kB / 435.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.3069, allocations: 131.5 kB / 436.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.3071, allocations: 119.6 kB / 436.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.3072, allocations: 12 kB / 436.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01735/0.3245, allocations: 9.499 MB / 445.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.3247, allocations: 71.78 kB / 445.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.3249, allocations: 95.66 kB / 445.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.3357, allocations: 4.716 MB / 450.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3358, allocations: 0 / 450.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3358, allocations: 0 / 450.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3358, allocations: 0 / 450.6 MB, free: 6.359 MB / 366.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.00334/0.3392, allocations: 1.15 MB / 451.7 MB, free: 5.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3392, allocations: 12.03 kB / 451.7 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.715e-05/0.3393, allocations: 50.73 kB / 451.8 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.3394, allocations: 24.41 kB / 451.8 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3397, allocations: 218.8 kB / 452 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3397, allocations: 12.33 kB / 452 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.3398, allocations: 20 kB / 452.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.3405, allocations: 285.4 kB / 452.3 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3406, allocations: 4 kB / 452.3 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.3406, allocations: 4 kB / 452.3 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.3406, allocations: 8 kB / 452.3 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008414/0.3415, allocations: 311.7 kB / 452.7 MB, free: 4.164 MB / 366.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.001476/0.343, allocations: 0.8323 MB / 453.5 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/0.3437, allocations: 257 kB / 453.7 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.3441, allocations: 141.6 kB / 453.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0168/0.3609, allocations: 12.84 MB / 466.7 MB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.361, allocations: 34.56 kB / 466.7 MB, free: 3.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.904e-06/0.361, allocations: 0 / 466.7 MB, free: 3.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002968/0.3639, allocations: 0.7006 MB / 467.5 MB, free: 2.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.364, allocations: 81.11 kB / 467.5 MB, free: 2.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3641, allocations: 129.7 kB / 467.7 MB, free: 2.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.3642, allocations: 41.7 kB / 467.7 MB, free: 2.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.3643, allocations: 108.9 kB / 467.8 MB, free: 2.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.3644, allocations: 130.8 kB / 467.9 MB, free: 2.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.3645, allocations: 69.64 kB / 468 MB, free: 2.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3647, allocations: 330.8 kB / 468.3 MB, free: 1.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.3651, allocations: 139.9 kB / 468.5 MB, free: 1.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.3656, allocations: 211.5 kB / 468.7 MB, free: 1.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009895/0.3666, allocations: 365.5 kB / 469 MB, free: 1.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3666, allocations: 0 / 469 MB, free: 1.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001228/0.3679, allocations: 420 kB / 469.4 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3679, allocations: 7.938 kB / 469.4 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3679, allocations: 4 kB / 469.4 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3679, allocations: 4 kB / 469.4 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.3684, allocations: 95.97 kB / 469.5 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3684, allocations: 8 kB / 469.5 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.3687, allocations: 23.97 kB / 469.6 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.3688, allocations: 16 kB / 469.6 MB, free: 0.4922 MB / 382.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.0001537/0.369, allocations: 145.7 kB / 469.7 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.3691, allocations: 19.91 kB / 469.8 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/0.3696, allocations: 182.4 kB / 469.9 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.3696, allocations: 7.938 kB / 469.9 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.3697, allocations: 0 / 469.9 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3697, allocations: 0 / 469.9 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.3715, allocations: 0.7674 MB / 470.7 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3715, allocations: 4 kB / 470.7 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.3719, allocations: 79.88 kB / 470.8 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.372, allocations: 4 kB / 470.8 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.372, allocations: 11.98 kB / 470.8 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.372, allocations: 4 kB / 470.8 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.372, allocations: 0 / 470.8 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.3736, allocations: 0.7117 MB / 471.5 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.3738, allocations: 124.9 kB / 471.6 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.3738, allocations: 8 kB / 471.6 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.3742, allocations: 24.03 kB / 471.7 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.3743, allocations: 27.91 kB / 471.7 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.3743, allocations: 20 kB / 471.7 MB, free: 14.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.636e-05/0.3744, allocations: 95.27 kB / 471.8 MB, free: 14.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3744, allocations: 3.938 kB / 471.8 MB, free: 14.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002447/0.3768, allocations: 0.955 MB / 472.8 MB, free: 13.17 MB / 398.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.006037/0.3829, allocations: 2.39 MB / 475.2 MB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.384, allocations: 351.3 kB / 475.5 MB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.384, allocations: 4 kB / 475.5 MB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.3845, allocations: 172.5 kB / 475.7 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/0.3853, allocations: 104.5 kB / 475.8 MB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/0.3914, allocations: 3.159 MB / 478.9 MB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3918, allocations: 0.7332 MB / 479.7 MB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003693/0.3922, allocations: 89.97 kB / 479.8 MB, free: 5.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.3924, allocations: 71.41 kB / 479.8 MB, free: 5.887 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3924, allocations: 0 / 479.8 MB, free: 5.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09105/0.4834, allocations: 32.51 MB / 0.5003 GB, free: 5.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.404/9.888, allocations: 3.594 kB / 0.5003 GB, free: 5.477 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches