Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",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.001179/0.001179, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001249/0.001249, allocations: 187.1 kB / 18.7 MB, free: 4.371 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.401/1.401, 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.1991/0.1991, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3343, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03262/0.3669, allocations: 30.04 MB / 0.5478 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02096/0.3879, allocations: 15.5 MB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005404/0.3885, allocations: 11.88 kB / 0.5629 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008824/0.3895, allocations: 218.6 kB / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008774/0.3904, allocations: 278.3 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02026/0.4107, allocations: 5.622 MB / 0.5689 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.4124, allocations: 0.8147 MB / 0.5697 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.4129, allocations: 236.7 kB / 0.5699 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0111/0.424, allocations: 5.47 MB / 0.5752 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.4244, allocations: 243 kB / 0.5755 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.927e-05/0.4245, allocations: 28 kB / 0.5755 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/0.4362, allocations: 6.072 MB / 0.5814 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.4363, allocations: 91.72 kB / 0.5815 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.4367, allocations: 191.1 kB / 0.5817 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008892/0.4456, allocations: 3.641 MB / 0.5852 GB, free: 7.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4456, allocations: 7.984 kB / 0.5853 GB, free: 7.445 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4456, allocations: 0 / 0.5853 GB, free: 7.445 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.4456, allocations: 0 / 0.5853 GB, free: 7.445 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002334/0.448, allocations: 0.994 MB / 0.5862 GB, free: 6.402 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.448, allocations: 8.031 kB / 0.5862 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.328e-05/0.4481, allocations: 58.73 kB / 0.5863 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009789/0.4491, allocations: 112.5 kB / 0.5864 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/0.4497, allocations: 346.5 kB / 0.5867 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.4498, allocations: 28.94 kB / 0.5868 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.4498, allocations: 28.12 kB / 0.5868 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.4509, allocations: 450.9 kB / 0.5872 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.451, allocations: 0 / 0.5872 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.451, allocations: 12 kB / 0.5872 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.451, allocations: 8 kB / 0.5872 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.4521, allocations: 365.3 kB / 0.5876 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.4555, allocations: 2.379 MB / 0.5899 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.4565, allocations: 282.3 kB / 0.5902 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.4568, allocations: 92.8 kB / 0.5903 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000467/0.4573, allocations: 489.4 kB / 0.5907 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.095e-05/0.4574, allocations: 38.56 kB / 0.5908 GB, free: 1.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.4574, allocations: 3.938 kB / 0.5908 GB, free: 1.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001682/0.4591, allocations: 449.1 kB / 0.5912 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.4592, allocations: 110.7 kB / 0.5913 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.4595, allocations: 316.6 kB / 0.5916 GB, free: 444 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.4596, allocations: 29.64 kB / 0.5916 GB, free: 408 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.4597, allocations: 211.6 kB / 0.5918 GB, free: 188 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.4598, allocations: 39.39 kB / 0.5919 GB, free: 148 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.091e-05/0.4599, allocations: 65.61 kB / 0.5919 GB, free: 76 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.46, allocations: 338.8 kB / 0.5923 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.4603, allocations: 83.94 kB / 0.5923 GB, free: 15.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.4607, allocations: 207.3 kB / 0.5925 GB, free: 15.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/0.4613, allocations: 281.5 kB / 0.5928 GB, free: 15.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4613, allocations: 4 kB / 0.5928 GB, free: 15.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007356/0.462, allocations: 316.7 kB / 0.5931 GB, free: 14.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.462, allocations: 8 kB / 0.5931 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4621, allocations: 4 kB / 0.5931 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4621, allocations: 4 kB / 0.5931 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.4623, allocations: 71.83 kB / 0.5932 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.4624, allocations: 8.453 kB / 0.5932 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.4626, allocations: 43.67 kB / 0.5932 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.4626, allocations: 12 kB / 0.5932 GB, free: 14.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 0.000211/0.4629, allocations: 149.8 kB / 0.5934 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.4629, allocations: 31.62 kB / 0.5934 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.4641, allocations: 0.7367 MB / 0.5941 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/0.4641, allocations: 11.92 kB / 0.5942 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4641, allocations: 0 / 0.5942 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4641, allocations: 0 / 0.5942 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.4648, allocations: 0.5297 MB / 0.5947 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4648, allocations: 0 / 0.5947 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.465, allocations: 51.95 kB / 0.5947 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.465, allocations: 3.984 kB / 0.5947 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.465, allocations: 3.938 kB / 0.5947 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.4651, allocations: 3.938 kB / 0.5947 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4651, allocations: 0 / 0.5947 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.4658, allocations: 469.6 kB / 0.5952 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.53e-05/0.4659, allocations: 116.6 kB / 0.5953 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.466, allocations: 27.69 kB / 0.5953 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.4662, allocations: 19.92 kB / 0.5953 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.4663, allocations: 15.97 kB / 0.5954 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.4663, allocations: 12 kB / 0.5954 GB, free: 12.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004719/0.4668, allocations: 342.8 kB / 0.5957 GB, free: 12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4668, allocations: 0 / 0.5957 GB, free: 12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002423/0.4692, allocations: 0.8393 MB / 0.5965 GB, free: 11.16 MB / 462.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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004894/0.4741, allocations: 1.887 MB / 0.5984 GB, free: 9.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007213/0.4748, allocations: 275.8 kB / 0.5986 GB, free: 8.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4749, allocations: 0 / 0.5986 GB, free: 8.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.4752, allocations: 160.7 kB / 0.5988 GB, free: 8.824 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000962/0.4762, allocations: 201.1 kB / 0.599 GB, free: 8.641 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/0.4828, allocations: 3.986 MB / 0.6029 GB, free: 4.477 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.4832, allocations: 0.8385 MB / 0.6037 GB, free: 3.613 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003448/0.4836, allocations: 146 kB / 0.6038 GB, free: 3.477 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.4838, allocations: 163.4 kB / 0.604 GB, free: 3.316 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4838, allocations: 0 / 0.604 GB, free: 3.316 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07127/0.5551, allocations: 39.12 MB / 0.6422 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.6, allocations: 15.95 kB / 0.6422 GB, free: 12.33 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches