Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_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.00146/0.00146, allocations: 105.6 kB / 15.99 MB, free: 6.348 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.001607/0.001607, allocations: 193 kB / 16.9 MB, free: 6.184 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.724/1.724, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4335/0.4335, allocations: 43.51 MB / 313.6 MB, free: 8.543 MB / 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.001964/0.001963, allocations: 75.88 kB / 382.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1851, allocations: 57.79 MB / 440.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3488/0.5339, allocations: 30.14 MB / 470.3 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.5518, allocations: 15.57 MB / 485.8 MB, free: 23.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005866/0.5525, allocations: 10.56 kB / 485.8 MB, free: 23.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007901/0.5533, allocations: 193.6 kB / 486 MB, free: 22.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005951/0.554, allocations: 247.5 kB / 486.3 MB, free: 22.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0197/0.5737, allocations: 4.968 MB / 491.2 MB, free: 20.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.5753, allocations: 0.8098 MB / 492 MB, free: 20.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.5758, allocations: 227.3 kB / 492.3 MB, free: 20.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01067/0.5864, allocations: 5.452 MB / 497.7 MB, free: 17.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005795/0.5871, allocations: 247.3 kB / 498 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.5871, allocations: 30.09 kB / 498 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01811/0.6053, allocations: 5.997 MB / 0.4922 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.6057, allocations: 87.94 kB / 0.4923 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005121/0.6062, allocations: 183.2 kB / 0.4924 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01763/0.6238, allocations: 3.659 MB / 0.496 GB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.6239, allocations: 1.25 kB / 0.496 GB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6239, allocations: 0 / 0.496 GB, free: 14.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.6239, allocations: 0 / 0.496 GB, free: 14.91 MB / 382.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.006739/0.6307, allocations: 0.9955 MB / 0.497 GB, free: 14.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.37e-05/0.6308, allocations: 14.77 kB / 0.497 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.497e-05/0.6309, allocations: 60.95 kB / 0.497 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.632, allocations: 106.5 kB / 0.4971 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.6325, allocations: 326.9 kB / 0.4975 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.6326, allocations: 21.03 kB / 0.4975 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.6326, allocations: 24.03 kB / 0.4975 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.6338, allocations: 461.7 kB / 0.4979 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.6339, allocations: 1.375 kB / 0.4979 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.6339, allocations: 16.06 kB / 0.498 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.6339, allocations: 6.875 kB / 0.498 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.6351, allocations: 370.6 kB / 0.4983 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.6383, allocations: 2.381 MB / 0.5006 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.6394, allocations: 282.8 kB / 0.5009 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.6398, allocations: 96.56 kB / 0.501 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004437/0.6402, allocations: 487.1 kB / 0.5015 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.6403, allocations: 34.22 kB / 0.5015 GB, free: 10.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.685e-06/0.6403, allocations: 0 / 0.5015 GB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001786/0.6421, allocations: 446.8 kB / 0.5019 GB, free: 10.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.6421, allocations: 112.8 kB / 0.502 GB, free: 10.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/0.6426, allocations: 323.2 kB / 0.5023 GB, free: 10.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.6426, allocations: 30.86 kB / 0.5024 GB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.6428, allocations: 213.5 kB / 0.5026 GB, free: 9.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.6429, allocations: 37.34 kB / 0.5026 GB, free: 9.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.643, allocations: 59.34 kB / 0.5027 GB, free: 9.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6431, allocations: 337.8 kB / 0.503 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.6434, allocations: 85.2 kB / 0.5031 GB, free: 9.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.6437, allocations: 200.4 kB / 0.5033 GB, free: 9.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.6444, allocations: 285.6 kB / 0.5035 GB, free: 9.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6444, allocations: 3.781 kB / 0.5035 GB, free: 9.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008439/0.6453, allocations: 317.1 kB / 0.5038 GB, free: 8.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.6453, allocations: 6.969 kB / 0.5038 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.6454, allocations: 3.375 kB / 0.5039 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.6454, allocations: 5.219 kB / 0.5039 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.6457, allocations: 66.52 kB / 0.5039 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/0.6457, allocations: 12.44 kB / 0.5039 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.6461, allocations: 51.41 kB / 0.504 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.6461, allocations: 13.94 kB / 0.504 GB, free: 8.875 MB / 382.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.0001751/0.6463, allocations: 152.2 kB / 0.5041 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.6464, allocations: 30.16 kB / 0.5042 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.6476, allocations: 0.7412 MB / 0.5049 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.6477, allocations: 10.48 kB / 0.5049 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.6477, allocations: 9.312 kB / 0.5049 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6477, allocations: 4 kB / 0.5049 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000611/0.6483, allocations: 0.5309 MB / 0.5054 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6483, allocations: 3.938 kB / 0.5054 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.6485, allocations: 49.36 kB / 0.5055 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.6485, allocations: 1.438 kB / 0.5055 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.6486, allocations: 5.531 kB / 0.5055 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6486, allocations: 0 / 0.5055 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6486, allocations: 3.938 kB / 0.5055 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007873/0.6494, allocations: 463.8 kB / 0.5059 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.346e-05/0.6495, allocations: 114.9 kB / 0.506 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.6496, allocations: 25.31 kB / 0.5061 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.6498, allocations: 15.52 kB / 0.5061 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.6499, allocations: 24.03 kB / 0.5061 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.6499, allocations: 3.906 kB / 0.5061 GB, free: 7.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004218/0.6504, allocations: 356.1 kB / 0.5065 GB, free: 7.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6504, allocations: 0 / 0.5065 GB, free: 7.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005928/0.6563, allocations: 0.8361 MB / 0.5073 GB, free: 6.957 MB / 382.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.008939/0.6652, allocations: 1.887 MB / 0.5091 GB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008377/0.6661, allocations: 283.9 kB / 0.5094 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6661, allocations: 1.5 kB / 0.5094 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.6665, allocations: 167.3 kB / 0.5095 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.6676, allocations: 180 kB / 0.5097 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009051/0.6766, allocations: 4.218 MB / 0.5138 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.6771, allocations: 0.8369 MB / 0.5147 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005148/0.6776, allocations: 149.8 kB / 0.5148 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.6778, allocations: 165 kB / 0.515 GB, free: 1.531 MB / 382.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6778, allocations: 0 / 0.515 GB, free: 1.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07883/0.7566, allocations: 38.69 MB / 0.5527 GB, free: 13.15 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/0.7569, allocations: 260.3 kB / 0.553 GB, free: 12.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.181/4.938, allocations: 0 / 0.553 GB, free: 12.8 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches