Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_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.001311/0.001311, allocations: 108.2 kB / 16.27 MB, free: 6.41 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.00166/0.00166, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.636/1.636, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2225/0.2225, allocations: 43.51 MB / 313.9 MB, free: 0.5273 MB / 254.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.001511/0.001511, allocations: 71.89 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1169, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4137/0.5306, allocations: 152.2 MB / 0.5789 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.5325, allocations: 1.207 MB / 0.5801 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.5326, allocations: 0 / 0.5801 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.533, allocations: 41.72 kB / 0.5801 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002762/0.5359, allocations: 0.8805 MB / 0.581 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.003e-06/0.5359, allocations: 0 / 0.581 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.536, allocations: 46.3 kB / 0.581 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.5361, allocations: 2.25 kB / 0.581 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.369e-05/0.5361, allocations: 16.89 kB / 0.5811 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.588e-05/0.5362, allocations: 21.3 kB / 0.5811 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.5362, allocations: 4 kB / 0.5811 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.5398, allocations: 1.628 MB / 0.5827 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/0.5399, allocations: 8.703 kB / 0.5827 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.54, allocations: 17.25 kB / 0.5827 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.5419, allocations: 0.7766 MB / 0.5835 GB, free: 11.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.5419, allocations: 0 / 0.5835 GB, free: 11.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5419, allocations: 1.781 kB / 0.5835 GB, free: 11.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.5419, allocations: 0 / 0.5835 GB, free: 11.82 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008654/0.5428, allocations: 464.1 kB / 0.5839 GB, free: 11.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.5429, allocations: 13.67 kB / 0.5839 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.5429, allocations: 37.53 kB / 0.584 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.543, allocations: 0.9375 kB / 0.584 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.5431, allocations: 174.7 kB / 0.5841 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.5431, allocations: 3.844 kB / 0.5841 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.5431, allocations: 2.125 kB / 0.5841 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.5433, allocations: 72.11 kB / 0.5842 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.5433, allocations: 0 / 0.5842 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5433, allocations: 3.625 kB / 0.5842 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.5433, allocations: 9.188 kB / 0.5842 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.5434, allocations: 45.62 kB / 0.5843 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.5439, allocations: 295.9 kB / 0.5845 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.499e-05/0.5439, allocations: 37.97 kB / 0.5846 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.544, allocations: 7.703 kB / 0.5846 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.5441, allocations: 98.06 kB / 0.5847 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.5442, allocations: 34.5 kB / 0.5847 GB, free: 10.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.404e-06/0.5442, allocations: 0 / 0.5847 GB, free: 10.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.00017/0.5443, allocations: 54.16 kB / 0.5848 GB, free: 10.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.5444, allocations: 53.59 kB / 0.5848 GB, free: 10.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.5445, allocations: 101.6 kB / 0.5849 GB, free: 10.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.5445, allocations: 25.7 kB / 0.5849 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.5446, allocations: 104.3 kB / 0.585 GB, free: 10.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.019e-05/0.5446, allocations: 7.891 kB / 0.585 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.5446, allocations: 21.81 kB / 0.5851 GB, free: 10.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5447, allocations: 313.3 kB / 0.5854 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.22e-05/0.5448, allocations: 9.078 kB / 0.5854 GB, free: 9.926 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/0.5448, allocations: 34.16 kB / 0.5854 GB, free: 9.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.219e-05/0.5449, allocations: 49.36 kB / 0.5854 GB, free: 9.848 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5449, allocations: 2.75 kB / 0.5854 GB, free: 9.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000109/0.545, allocations: 68.92 kB / 0.5855 GB, free: 9.805 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.545, allocations: 7.062 kB / 0.5855 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5451, allocations: 3.938 kB / 0.5855 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.5451, allocations: 2.125 kB / 0.5855 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.5452, allocations: 18.17 kB / 0.5855 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.5452, allocations: 0 / 0.5855 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.5452, allocations: 13.84 kB / 0.5856 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.5452, allocations: 2.406 kB / 0.5856 GB, free: 9.785 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 9.146e-05/0.5453, allocations: 116.2 kB / 0.5857 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.5454, allocations: 2.812 kB / 0.5857 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.5455, allocations: 70.8 kB / 0.5857 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5455, allocations: 0 / 0.5857 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5456, allocations: 2.094 kB / 0.5857 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5456, allocations: 0 / 0.5857 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.5457, allocations: 156.5 kB / 0.5859 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5458, allocations: 0 / 0.5859 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.5458, allocations: 9.109 kB / 0.5859 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5458, allocations: 0 / 0.5859 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.5458, allocations: 6.375 kB / 0.5859 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5458, allocations: 0 / 0.5859 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5458, allocations: 3.938 kB / 0.5859 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.546, allocations: 142.6 kB / 0.586 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.546, allocations: 81.02 kB / 0.5861 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.546, allocations: 9 kB / 0.5861 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.5461, allocations: 3.938 kB / 0.5861 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.5461, allocations: 3.984 kB / 0.5861 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.5461, allocations: 6.125 kB / 0.5861 GB, free: 9.168 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.5462, allocations: 77.53 kB / 0.5862 GB, free: 9.094 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5462, allocations: 4 kB / 0.5862 GB, free: 9.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004474/0.5466, allocations: 95.92 kB / 0.5863 GB, free: 9.066 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0008503/0.5475, allocations: 0.8315 MB / 0.5871 GB, free: 8.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.5476, allocations: 26.27 kB / 0.5872 GB, free: 8.328 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5476, allocations: 4.125 kB / 0.5872 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.5476, allocations: 13.36 kB / 0.5872 GB, free: 8.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.5479, allocations: 5.75 kB / 0.5872 GB, free: 8.316 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.5484, allocations: 211.2 kB / 0.5874 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.5486, allocations: 0.6798 MB / 0.588 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.696e-05/0.5487, allocations: 15.14 kB / 0.5881 GB, free: 7.422 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.5487, allocations: 19.8 kB / 0.5881 GB, free: 7.41 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5487, allocations: 0 / 0.5881 GB, free: 7.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.5677, allocations: 3.749 MB / 0.5917 GB, free: 5.379 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/8.116, allocations: 16.55 kB / 0.5917 GB, free: 5.367 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches