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.001226/0.001226, allocations: 106.8 kB / 16.41 MB, free: 6.434 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.001213/0.001213, allocations: 189.3 kB / 17.34 MB, free: 5.703 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.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.19 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.1978/0.1978, allocations: 43.52 MB / 314.1 MB, free: 444 kB / 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.00133/0.001331, allocations: 61.47 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1101, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4189/0.5291, allocations: 152.2 MB / 0.636 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.5309, allocations: 1.217 MB / 0.6372 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.531, allocations: 0 / 0.6372 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.5315, allocations: 34.48 kB / 0.6373 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.5351, allocations: 0.884 MB / 0.6381 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.127e-06/0.5352, allocations: 0 / 0.6381 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.5354, allocations: 47.72 kB / 0.6382 GB, free: 496 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.5354, allocations: 4 kB / 0.6382 GB, free: 492 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.5355, allocations: 15.92 kB / 0.6382 GB, free: 476 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.5356, allocations: 19.92 kB / 0.6382 GB, free: 456 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.5356, allocations: 3.938 kB / 0.6382 GB, free: 452 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.5385, allocations: 1.633 MB / 0.6398 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.5386, allocations: 11.98 kB / 0.6398 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.5386, allocations: 11.94 kB / 0.6398 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.5403, allocations: 0.7829 MB / 0.6406 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5403, allocations: 0 / 0.6406 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.5403, allocations: 0 / 0.6406 GB, free: 14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.5403, allocations: 0 / 0.6406 GB, free: 14 MB / 494.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.0007283/0.5411, allocations: 470 kB / 0.641 GB, free: 13.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.5411, allocations: 11.89 kB / 0.641 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.5412, allocations: 38.75 kB / 0.6411 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.5412, allocations: 12.88 kB / 0.6411 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.5413, allocations: 170.4 kB / 0.6413 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.5413, allocations: 3.984 kB / 0.6413 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.5414, allocations: 4 kB / 0.6413 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.5415, allocations: 65.67 kB / 0.6413 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.5415, allocations: 4 kB / 0.6413 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.5415, allocations: 0 / 0.6413 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.5416, allocations: 11.92 kB / 0.6413 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.137e-05/0.5417, allocations: 47.97 kB / 0.6414 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.5421, allocations: 296.7 kB / 0.6417 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.927e-05/0.5422, allocations: 34.61 kB / 0.6417 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.5422, allocations: 12.91 kB / 0.6417 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.5423, allocations: 89.11 kB / 0.6418 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.5424, allocations: 34.55 kB / 0.6418 GB, free: 12.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.5424, allocations: 4 kB / 0.6418 GB, free: 12.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001559/0.5425, allocations: 53.62 kB / 0.6419 GB, free: 12.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.5426, allocations: 55.34 kB / 0.6419 GB, free: 12.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/0.5427, allocations: 97.86 kB / 0.642 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.5427, allocations: 25.7 kB / 0.6421 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.5427, allocations: 99.97 kB / 0.6422 GB, free: 12.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/0.5428, allocations: 11.91 kB / 0.6422 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.5428, allocations: 22.28 kB / 0.6422 GB, free: 12.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5429, allocations: 318.8 kB / 0.6425 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.5429, allocations: 4 kB / 0.6425 GB, free: 11.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/0.543, allocations: 35.42 kB / 0.6425 GB, free: 11.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.407e-05/0.543, allocations: 43.38 kB / 0.6426 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5431, allocations: 4 kB / 0.6426 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001029/0.5432, allocations: 69.36 kB / 0.6426 GB, free: 11.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5432, allocations: 4 kB / 0.6426 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5432, allocations: 3.938 kB / 0.6426 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5432, allocations: 4 kB / 0.6427 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.5433, allocations: 15.94 kB / 0.6427 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5433, allocations: 0 / 0.6427 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.5434, allocations: 8.438 kB / 0.6427 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.5434, allocations: 4.422 kB / 0.6427 GB, free: 11.59 MB / 494.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.806e-05/0.5435, allocations: 125.8 kB / 0.6428 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.5435, allocations: 7.953 kB / 0.6428 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.5437, allocations: 61.05 kB / 0.6429 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5437, allocations: 0 / 0.6429 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5437, allocations: 7.625 kB / 0.6429 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5437, allocations: 0 / 0.6429 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.5439, allocations: 169.6 kB / 0.643 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5439, allocations: 4 kB / 0.643 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.5439, allocations: 4 kB / 0.643 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5439, allocations: 0 / 0.643 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.5439, allocations: 3.938 kB / 0.643 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.5439, allocations: 0 / 0.643 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5439, allocations: 0 / 0.643 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.5441, allocations: 135.5 kB / 0.6432 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.5441, allocations: 81.11 kB / 0.6433 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.5441, allocations: 15.92 kB / 0.6433 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.553e-05/0.5442, allocations: 0 / 0.6433 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.5442, allocations: 0 / 0.6433 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.5442, allocations: 7.938 kB / 0.6433 GB, free: 10.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.047e-05/0.5443, allocations: 79.28 kB / 0.6433 GB, free: 10.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5443, allocations: 0 / 0.6433 GB, free: 10.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004677/0.5448, allocations: 103.6 kB / 0.6434 GB, free: 10.7 MB / 494.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.0009946/0.5458, allocations: 0.8213 MB / 0.6443 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.5459, allocations: 23.94 kB / 0.6443 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5459, allocations: 0 / 0.6443 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.5459, allocations: 11.92 kB / 0.6443 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.5462, allocations: 11.06 kB / 0.6443 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.5468, allocations: 217.2 kB / 0.6445 GB, free: 9.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.5471, allocations: 0.6807 MB / 0.6452 GB, free: 8.852 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.813e-05/0.5471, allocations: 14.09 kB / 0.6452 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.5472, allocations: 15.44 kB / 0.6452 GB, free: 8.824 MB / 494.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5472, allocations: 0 / 0.6452 GB, free: 8.824 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.5676, allocations: 3.786 MB / 0.6489 GB, free: 5.043 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.421/7.988, allocations: 11.98 kB / 0.6489 GB, free: 5.031 MB / 494.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