Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 75.88 kB / 480.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3239, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1593/0.4833, allocations: 153.9 MB / 0.6808 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.4852, allocations: 1.464 MB / 0.6822 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.4853, allocations: 0 / 0.6822 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.4856, allocations: 43.8 kB / 0.6823 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.4884, allocations: 1.076 MB / 0.6833 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.982e-06/0.4884, allocations: 0 / 0.6833 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.4886, allocations: 71.62 kB / 0.6834 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.336e-05/0.4886, allocations: 0 / 0.6834 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.4887, allocations: 27.86 kB / 0.6834 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.4888, allocations: 39.84 kB / 0.6834 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.4888, allocations: 0 / 0.6834 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.4919, allocations: 1.869 MB / 0.6853 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.492, allocations: 11.97 kB / 0.6853 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.492, allocations: 27.86 kB / 0.6853 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.4937, allocations: 0.9235 MB / 0.6862 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4937, allocations: 0 / 0.6862 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4937, allocations: 0 / 0.6862 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.4937, allocations: 0 / 0.6862 GB, free: 1.75 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007267/0.4944, allocations: 0.5094 MB / 0.6867 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.4945, allocations: 12.03 kB / 0.6867 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.4945, allocations: 38.69 kB / 0.6868 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.4945, allocations: 8.891 kB / 0.6868 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.4947, allocations: 163.4 kB / 0.6869 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.4947, allocations: 4 kB / 0.6869 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.4947, allocations: 4 kB / 0.6869 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.4949, allocations: 89.58 kB / 0.687 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4949, allocations: 0 / 0.687 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.4949, allocations: 11.92 kB / 0.687 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.4949, allocations: 11.98 kB / 0.687 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.526e-05/0.495, allocations: 59.97 kB / 0.6871 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.4955, allocations: 316.7 kB / 0.6874 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.274e-05/0.4956, allocations: 42.5 kB / 0.6874 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.4956, allocations: 16.97 kB / 0.6874 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.4958, allocations: 259.2 kB / 0.6877 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.4959, allocations: 42.56 kB / 0.6877 GB, free: 15.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.4959, allocations: 0 / 0.6877 GB, free: 15.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0001996/0.4961, allocations: 65.67 kB / 0.6878 GB, free: 15.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.4961, allocations: 51.41 kB / 0.6878 GB, free: 15.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/0.4962, allocations: 106.1 kB / 0.688 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.4962, allocations: 25.7 kB / 0.688 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.4963, allocations: 96.05 kB / 0.6881 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.4963, allocations: 19.77 kB / 0.6881 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.4963, allocations: 29.67 kB / 0.6881 GB, free: 15.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4964, allocations: 314.8 kB / 0.6884 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.4965, allocations: 16.17 kB / 0.6884 GB, free: 15.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.4965, allocations: 39.42 kB / 0.6885 GB, free: 15.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.4966, allocations: 67.36 kB / 0.6885 GB, free: 15.06 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4966, allocations: 0 / 0.6885 GB, free: 15.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001301/0.4968, allocations: 73.67 kB / 0.6886 GB, free: 14.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4968, allocations: 14.28 kB / 0.6886 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4968, allocations: 0 / 0.6886 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4968, allocations: 0 / 0.6886 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.4969, allocations: 15.98 kB / 0.6886 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4969, allocations: 8.031 kB / 0.6886 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.4969, allocations: 8 kB / 0.6886 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.497, allocations: 4 kB / 0.6886 GB, free: 14.94 MB / 0.545 GB 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 7.132e-05/0.497, allocations: 117.8 kB / 0.6888 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.4971, allocations: 11.88 kB / 0.6888 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.4972, allocations: 69.23 kB / 0.6888 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4973, allocations: 11.98 kB / 0.6889 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4973, allocations: 0 / 0.6889 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4973, allocations: 0 / 0.6889 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.4974, allocations: 165.6 kB / 0.689 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4975, allocations: 3.938 kB / 0.689 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.4975, allocations: 11.98 kB / 0.689 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4975, allocations: 0 / 0.689 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.4975, allocations: 4 kB / 0.689 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4975, allocations: 0 / 0.689 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4975, allocations: 160 / 0.689 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.4977, allocations: 163.6 kB / 0.6892 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.4977, allocations: 81.05 kB / 0.6893 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.4977, allocations: 4 kB / 0.6893 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.967e-05/0.4978, allocations: 0 / 0.6893 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.4978, allocations: 3.984 kB / 0.6893 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.4978, allocations: 4 kB / 0.6893 GB, free: 14.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.4979, allocations: 83.28 kB / 0.6894 GB, free: 14.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.423e-06/0.4979, allocations: 3.938 kB / 0.6894 GB, free: 14.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000492/0.4984, allocations: 159.4 kB / 0.6895 GB, free: 13.96 MB / 0.545 GB 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.001136/0.4995, allocations: 0.931 MB / 0.6904 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.4996, allocations: 43.91 kB / 0.6905 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4997, allocations: 0 / 0.6905 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/0.4997, allocations: 16 kB / 0.6905 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.5, allocations: 8.547 kB / 0.6905 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006584/0.5006, allocations: 273.4 kB / 0.6907 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.5009, allocations: 0.6845 MB / 0.6914 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.692e-05/0.501, allocations: 23.91 kB / 0.6914 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.501, allocations: 23.44 kB / 0.6915 GB, free: 11.87 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.501, allocations: 0 / 0.6915 GB, free: 11.87 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.5225, allocations: 4.999 MB / 0.6963 GB, free: 6.941 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.497/8.02, allocations: 10.41 kB / 0.6963 GB, free: 6.938 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches