Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_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.001787/0.001787, allocations: 118.1 kB / 17.79 MB, free: 5.254 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.002037/0.002037, allocations: 183 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2096/0.2096, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 71.81 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3363, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1783/0.5147, allocations: 151 MB / 0.6658 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.5166, allocations: 1.324 MB / 0.6671 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.5166, allocations: 0 / 0.6671 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.5169, allocations: 43.8 kB / 0.6672 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.5199, allocations: 1.03 MB / 0.6682 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.189e-06/0.5199, allocations: 0 / 0.6682 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.52, allocations: 51.72 kB / 0.6682 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.5201, allocations: 0 / 0.6682 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.5201, allocations: 19.92 kB / 0.6682 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.5202, allocations: 19.92 kB / 0.6682 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.5202, allocations: 4 kB / 0.6683 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.5232, allocations: 1.794 MB / 0.67 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.5232, allocations: 11.92 kB / 0.67 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.5233, allocations: 11.94 kB / 0.67 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.5247, allocations: 0.8894 MB / 0.6709 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5247, allocations: 0 / 0.6709 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5247, allocations: 3.938 kB / 0.6709 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5248, allocations: 0 / 0.6709 GB, free: 15.39 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007702/0.5255, allocations: 0.5017 MB / 0.6714 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5256, allocations: 12.03 kB / 0.6714 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.5256, allocations: 38.67 kB / 0.6714 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.5257, allocations: 4.938 kB / 0.6714 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.5258, allocations: 163.4 kB / 0.6716 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5258, allocations: 0 / 0.6716 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.5258, allocations: 8 kB / 0.6716 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.526, allocations: 69.61 kB / 0.6717 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.526, allocations: 0 / 0.6717 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.526, allocations: 4 kB / 0.6717 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.5261, allocations: 15.98 kB / 0.6717 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-05/0.5262, allocations: 47.97 kB / 0.6717 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.5266, allocations: 296.8 kB / 0.672 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.539e-05/0.5267, allocations: 38.5 kB / 0.6721 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.5268, allocations: 8.859 kB / 0.6721 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/0.527, allocations: 263.3 kB / 0.6723 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.5271, allocations: 34.56 kB / 0.6724 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.5271, allocations: 0 / 0.6724 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.000203/0.5273, allocations: 61.64 kB / 0.6724 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.5274, allocations: 55.34 kB / 0.6725 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.5275, allocations: 110 kB / 0.6726 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.5275, allocations: 25.7 kB / 0.6726 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.5276, allocations: 92.05 kB / 0.6727 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.5276, allocations: 19.94 kB / 0.6727 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.5276, allocations: 29.66 kB / 0.6727 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5278, allocations: 310.8 kB / 0.673 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.941e-05/0.5278, allocations: 15.98 kB / 0.673 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.5279, allocations: 27.44 kB / 0.6731 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.5279, allocations: 51.36 kB / 0.6731 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5279, allocations: 0 / 0.6731 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001243/0.5281, allocations: 81.55 kB / 0.6732 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5281, allocations: 4 kB / 0.6732 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.5281, allocations: 0 / 0.6732 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5281, allocations: 4 kB / 0.6732 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.5282, allocations: 11.94 kB / 0.6732 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5282, allocations: 4 kB / 0.6732 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.5283, allocations: 12.05 kB / 0.6732 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.5283, allocations: 4 kB / 0.6732 GB, free: 12.7 MB / 0.5294 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 (7): * Single equations (assignments): 7 * 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.609e-05/0.5284, allocations: 113.8 kB / 0.6733 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.5284, allocations: 7.938 kB / 0.6733 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.5286, allocations: 73.05 kB / 0.6734 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5286, allocations: 4 kB / 0.6734 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5286, allocations: 0 / 0.6734 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5286, allocations: 0 / 0.6734 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.5288, allocations: 157.7 kB / 0.6736 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5288, allocations: 3.938 kB / 0.6736 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.5288, allocations: 8 kB / 0.6736 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5288, allocations: 0 / 0.6736 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.5288, allocations: 0 / 0.6736 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5288, allocations: 3.984 kB / 0.6736 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5289, allocations: 4 kB / 0.6736 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.529, allocations: 147.6 kB / 0.6737 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.5291, allocations: 92.94 kB / 0.6738 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.5291, allocations: 0 / 0.6738 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.5291, allocations: 4 kB / 0.6738 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.5291, allocations: 7.938 kB / 0.6738 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.5292, allocations: 3.984 kB / 0.6738 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.5292, allocations: 79.28 kB / 0.6739 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5292, allocations: 0 / 0.6739 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004626/0.5297, allocations: 135.5 kB / 0.674 GB, free: 11.77 MB / 0.5294 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 (4): * Single equations (assignments): 4 * 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.001111/0.5308, allocations: 0.9057 MB / 0.6749 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.5309, allocations: 39.98 kB / 0.675 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5309, allocations: 0 / 0.675 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.071e-05/0.531, allocations: 12 kB / 0.675 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.5312, allocations: 8 kB / 0.675 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/0.5318, allocations: 240.8 kB / 0.6752 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.5321, allocations: 0.6807 MB / 0.6759 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.58e-05/0.5322, allocations: 8.062 kB / 0.6759 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.5322, allocations: 19.42 kB / 0.6759 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.5322, allocations: 0 / 0.6759 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.5582, allocations: 4.493 MB / 0.6803 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.389, allocations: 12.66 kB / 0.6803 GB, free: 5.344 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches