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.001332/0.001332, allocations: 105.4 kB / 16.41 MB, free: 6.5 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.001369/0.001369, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2095/0.2095, allocations: 43.52 MB / 314.1 MB, free: 452 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.001983/0.001983, allocations: 61.47 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1122, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3893/0.5015, allocations: 152.2 MB / 0.636 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.5033, allocations: 1.204 MB / 0.6372 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.5034, allocations: 4 kB / 0.6372 GB, free: 1.414 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.5037, allocations: 42.42 kB / 0.6373 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.5061, allocations: 0.8686 MB / 0.6381 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.24e-06/0.5061, allocations: 0 / 0.6381 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.5062, allocations: 47.78 kB / 0.6382 GB, free: 480 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.5063, allocations: 4 kB / 0.6382 GB, free: 476 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.361e-05/0.5063, allocations: 19.86 kB / 0.6382 GB, free: 456 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.5064, allocations: 23.92 kB / 0.6382 GB, free: 432 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.914e-06/0.5064, allocations: 0 / 0.6382 GB, free: 432 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.5095, allocations: 1.629 MB / 0.6398 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.5096, allocations: 7.984 kB / 0.6398 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.5097, allocations: 15.94 kB / 0.6398 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.5112, allocations: 0.779 MB / 0.6406 GB, free: 13.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5112, allocations: 4 kB / 0.6406 GB, free: 13.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5112, allocations: 0 / 0.6406 GB, free: 13.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.5112, allocations: 0 / 0.6406 GB, free: 13.99 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.0007346/0.512, allocations: 473.5 kB / 0.641 GB, free: 13.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.512, allocations: 15.89 kB / 0.641 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.5121, allocations: 30.75 kB / 0.6411 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.5121, allocations: 12.89 kB / 0.6411 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.5122, allocations: 174.3 kB / 0.6413 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.5123, allocations: 0 / 0.6413 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.5123, allocations: 4 kB / 0.6413 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.5124, allocations: 69.69 kB / 0.6413 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5125, allocations: 3.984 kB / 0.6413 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.5125, allocations: 0 / 0.6413 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.5125, allocations: 4 kB / 0.6413 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.556e-05/0.5126, allocations: 47.97 kB / 0.6414 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.513, allocations: 300.7 kB / 0.6417 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.697e-05/0.5131, allocations: 30.58 kB / 0.6417 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.5132, allocations: 16.91 kB / 0.6417 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.5133, allocations: 89.19 kB / 0.6418 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.5133, allocations: 42.5 kB / 0.6418 GB, free: 12.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.5134, allocations: 0 / 0.6418 GB, free: 12.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001698/0.5135, allocations: 49.62 kB / 0.6419 GB, free: 12.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.5136, allocations: 51.41 kB / 0.6419 GB, free: 12.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.5137, allocations: 110 kB / 0.642 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.5137, allocations: 25.7 kB / 0.6421 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.5138, allocations: 95.97 kB / 0.6421 GB, free: 12.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.5138, allocations: 11.91 kB / 0.6422 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.5138, allocations: 18.28 kB / 0.6422 GB, free: 12.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.514, allocations: 318.8 kB / 0.6425 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.514, allocations: 4 kB / 0.6425 GB, free: 11.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.514, allocations: 43.36 kB / 0.6425 GB, free: 11.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/0.5141, allocations: 39.38 kB / 0.6426 GB, free: 11.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5141, allocations: 0 / 0.6426 GB, free: 11.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001059/0.5142, allocations: 73.36 kB / 0.6426 GB, free: 11.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.5143, allocations: 4 kB / 0.6426 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5143, allocations: 12.03 kB / 0.6427 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5143, allocations: 0 / 0.6427 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.5144, allocations: 11.94 kB / 0.6427 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.5144, allocations: 6.109 kB / 0.6427 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.5144, allocations: 4 kB / 0.6427 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.5144, allocations: 7.984 kB / 0.6427 GB, free: 11.57 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.85e-05/0.5145, allocations: 121.7 kB / 0.6428 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.5146, allocations: 3.953 kB / 0.6428 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.5147, allocations: 61.12 kB / 0.6429 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5147, allocations: 7.984 kB / 0.6429 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5147, allocations: 0 / 0.6429 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5147, allocations: 0 / 0.6429 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.5149, allocations: 157.7 kB / 0.643 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5149, allocations: 2.812 kB / 0.643 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.515, allocations: 4 kB / 0.643 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.515, allocations: 0 / 0.643 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.515, allocations: 7.938 kB / 0.643 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.515, allocations: 4 kB / 0.643 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.515, allocations: 7.938 kB / 0.643 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.5151, allocations: 135.5 kB / 0.6432 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.5152, allocations: 81.09 kB / 0.6432 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.5152, allocations: 3.938 kB / 0.6433 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.5153, allocations: 0 / 0.6433 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.5153, allocations: 4 kB / 0.6433 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.5153, allocations: 8 kB / 0.6433 GB, free: 10.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.255e-05/0.5154, 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.5154, allocations: 0 / 0.6433 GB, free: 10.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004315/0.5158, allocations: 99.56 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.0009078/0.5167, allocations: 0.8335 MB / 0.6442 GB, free: 9.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.5168, allocations: 31.92 kB / 0.6443 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5169, allocations: 0 / 0.6443 GB, free: 9.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.5169, allocations: 11.94 kB / 0.6443 GB, free: 9.797 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.5171, allocations: 4 kB / 0.6443 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.5176, allocations: 209.1 kB / 0.6445 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.518, allocations: 0.6769 MB / 0.6452 GB, free: 8.844 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.212e-05/0.518, allocations: 18.56 kB / 0.6452 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.5181, allocations: 15.44 kB / 0.6452 GB, free: 8.812 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5181, allocations: 3.938 kB / 0.6452 GB, free: 8.809 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.5441, allocations: 3.786 MB / 0.6489 GB, free: 5.027 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.339, allocations: 7.641 kB / 0.6489 GB, free: 5.023 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