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.0009492/0.0009492, allocations: 107.4 kB / 17.15 MB, free: 6.305 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.0009031/0.0009031, allocations: 198 kB / 18.07 MB, free: 5.41 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.097/1.097, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001044/0.001044, allocations: 48.14 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06702/0.06807, allocations: 46.63 MB / 326.7 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2519/0.32, allocations: 150.6 MB / 477.2 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008039/0.3209, allocations: 0.6189 MB / 477.9 MB, free: 296 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.3209, allocations: 0 / 477.9 MB, free: 296 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.3213, allocations: 47.78 kB / 477.9 MB, free: 248 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.3216, allocations: 153.1 kB / 478.1 MB, free: 100 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.3238, allocations: 0.9426 MB / 479 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.3241, allocations: 482.6 kB / 479.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.3242, allocations: 13.45 kB / 479.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.3244, allocations: 139.5 kB / 479.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.3246, allocations: 127.5 kB / 479.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.3246, allocations: 8 kB / 479.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.3267, allocations: 1.68 MB / 481.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.3268, allocations: 67.78 kB / 481.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3269, allocations: 95.62 kB / 481.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.3282, allocations: 1.029 MB / 482.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3282, allocations: 4 kB / 482.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.3282, allocations: 0 / 482.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.3282, allocations: 0 / 482.6 MB, free: 11.54 MB / 382.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.001583/0.3298, allocations: 0.6639 MB / 483.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3299, allocations: 12.03 kB / 483.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.806e-05/0.3299, allocations: 50.73 kB / 483.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.33, allocations: 20.75 kB / 483.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.3303, allocations: 223.6 kB / 483.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3303, allocations: 16.27 kB / 483.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.3303, allocations: 20 kB / 483.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.3308, allocations: 261.4 kB / 483.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3309, allocations: 0 / 483.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.3309, allocations: 8 kB / 483.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.3309, allocations: 8 kB / 483.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.3315, allocations: 267.7 kB / 484.2 MB, free: 9.898 MB / 382.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.001248/0.3328, allocations: 0.7785 MB / 484.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.3334, allocations: 213.2 kB / 485.2 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.3337, allocations: 141.6 kB / 485.3 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.3339, allocations: 359.8 kB / 485.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.334, allocations: 42.5 kB / 485.7 MB, free: 8.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.675e-06/0.334, allocations: 3.984 kB / 485.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002338/0.3363, allocations: 0.6649 MB / 486.4 MB, free: 7.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3364, allocations: 81.11 kB / 486.4 MB, free: 7.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.3365, allocations: 121.8 kB / 486.5 MB, free: 7.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.3365, allocations: 37.64 kB / 486.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.3366, allocations: 112.7 kB / 486.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.335e-05/0.3367, allocations: 118.2 kB / 486.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3368, allocations: 81.55 kB / 486.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3369, allocations: 330.8 kB / 487.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.3372, allocations: 130 kB / 487.3 MB, free: 6.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/0.3376, allocations: 207.6 kB / 487.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007401/0.3384, allocations: 359.9 kB / 487.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3384, allocations: 0 / 487.9 MB, free: 5.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008865/0.3393, allocations: 401.4 kB / 488.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.3393, allocations: 4 kB / 488.3 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3393, allocations: 4 kB / 488.3 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3393, allocations: 4 kB / 488.3 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.3398, allocations: 87.88 kB / 488.4 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3398, allocations: 7.938 kB / 488.4 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.3401, allocations: 36 kB / 488.4 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.3402, allocations: 19.98 kB / 488.4 MB, free: 5.312 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.0001179/0.3403, allocations: 137.7 kB / 488.6 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.3404, allocations: 19.81 kB / 488.6 MB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.3407, allocations: 172 kB / 488.8 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3407, allocations: 4 kB / 488.8 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.3407, allocations: 4 kB / 488.8 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3407, allocations: 3.938 kB / 488.8 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.3422, allocations: 0.7748 MB / 489.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.3422, allocations: 7.938 kB / 489.6 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.3427, allocations: 79.77 kB / 489.6 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.3427, allocations: 4 kB / 489.6 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.3427, allocations: 15.92 kB / 489.7 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3427, allocations: 4 kB / 489.7 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3427, allocations: 3.938 kB / 489.7 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.344, allocations: 0.7068 MB / 490.4 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3441, allocations: 120.9 kB / 490.5 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.3442, allocations: 7.984 kB / 490.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.3445, allocations: 28.05 kB / 490.5 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.3446, allocations: 27.84 kB / 490.6 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.3446, allocations: 19.98 kB / 490.6 MB, free: 3.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.656e-05/0.3446, allocations: 91.27 kB / 490.7 MB, free: 2.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3446, allocations: 0 / 490.7 MB, free: 2.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004778/0.3451, allocations: 139.9 kB / 490.8 MB, free: 2.824 MB / 382.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.00171/0.3468, allocations: 1.368 MB / 492.2 MB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007708/0.3476, allocations: 343.8 kB / 492.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3476, allocations: 4 kB / 492.5 MB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.3481, allocations: 184.7 kB / 492.7 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.3487, allocations: 102.6 kB / 492.8 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.3527, allocations: 2.88 MB / 495.7 MB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.353, allocations: 0.7332 MB / 496.4 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003727/0.3534, allocations: 81.88 kB / 496.5 MB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.3535, allocations: 63.41 kB / 496.5 MB, free: 12.86 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3535, allocations: 4 kB / 496.5 MB, free: 12.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.045/1.399, allocations: 7.872 MB / 0.4926 GB, free: 4.949 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/1.399, allocations: 172.5 kB / 0.4928 GB, free: 4.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/3.496, allocations: 0 / 0.4928 GB, free: 4.695 MB / 398.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches