Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.172/1.172, allocations: 226.5 MB / 243.4 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007359/0.0007359, allocations: 102.2 kB / 295.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2647/0.2647, allocations: 44.81 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002424/0.0002425, allocations: 12 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2443, allocations: 62.97 MB / 0.516 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.001564/0.2459, allocations: 1.78 MB / 0.5177 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2472, allocations: 1.294 MB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.2473, allocations: 0 / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.2475, allocations: 73.72 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.2477, allocations: 62.31 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.2481, allocations: 165.8 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.2482, allocations: 152.3 kB / 0.5194 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.2483, allocations: 13.92 kB / 0.5194 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.2484, allocations: 56.09 kB / 0.5195 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.2485, allocations: 61.91 kB / 0.5195 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.2485, allocations: 2.812 kB / 0.5195 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.2489, allocations: 408.6 kB / 0.5199 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.249, allocations: 21.12 kB / 0.52 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.249, allocations: 95.44 kB / 0.52 GB, free: 34.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.2493, allocations: 282.2 kB / 0.5203 GB, free: 34.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2493, allocations: 0 / 0.5203 GB, free: 34.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2493, allocations: 0 / 0.5203 GB, free: 34.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.2493, allocations: 0 / 0.5203 GB, free: 34.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00041/0.2497, allocations: 478.5 kB / 0.5208 GB, free: 33.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2497, allocations: 9.594 kB / 0.5208 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.2498, allocations: 56.22 kB / 0.5208 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.2498, allocations: 28 kB / 0.5209 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2499, allocations: 216.9 kB / 0.5211 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.25, allocations: 10.38 kB / 0.5211 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.25, allocations: 23.59 kB / 0.5211 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.2503, allocations: 203.7 kB / 0.5213 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2503, allocations: 0 / 0.5213 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2503, allocations: 8 kB / 0.5213 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2503, allocations: 9.969 kB / 0.5213 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.2506, allocations: 150.2 kB / 0.5215 GB, free: 33.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.2512, allocations: 0.5795 MB / 0.522 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.2513, allocations: 67.36 kB / 0.5221 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.979e-05/0.2514, allocations: 40.17 kB / 0.5221 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.2515, allocations: 0 / 0.5221 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.2515, allocations: 37.38 kB / 0.5222 GB, free: 32.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.2515, allocations: 0 / 0.5222 GB, free: 32.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003834/0.2519, allocations: 148.8 kB / 0.5223 GB, free: 32.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.2519, allocations: 57.97 kB / 0.5224 GB, free: 32.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.2521, allocations: 246.5 kB / 0.5226 GB, free: 32.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.2521, allocations: 25.7 kB / 0.5226 GB, free: 32.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.2522, allocations: 169.6 kB / 0.5228 GB, free: 32.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.2522, allocations: 20.81 kB / 0.5228 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.2522, allocations: 4 kB / 0.5228 GB, free: 32.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.109e-05/0.2522, allocations: 339.5 kB / 0.5231 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.2523, allocations: 36.95 kB / 0.5232 GB, free: 32.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.2525, allocations: 134.7 kB / 0.5233 GB, free: 32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.2527, allocations: 188.8 kB / 0.5235 GB, free: 31.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2527, allocations: 3.938 kB / 0.5235 GB, free: 31.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003248/0.2531, allocations: 222.6 kB / 0.5237 GB, free: 31.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2531, allocations: 8.844 kB / 0.5237 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.2531, allocations: 20 kB / 0.5237 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2531, allocations: 3.031 kB / 0.5237 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.2532, allocations: 34.56 kB / 0.5237 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2533, allocations: 14.67 kB / 0.5238 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.2534, allocations: 30.22 kB / 0.5238 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.2534, allocations: 13.03 kB / 0.5238 GB, free: 31.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.2535, allocations: 134 kB / 0.5239 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.2535, allocations: 20.44 kB / 0.524 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.2538, allocations: 146.6 kB / 0.5241 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2538, allocations: 0 / 0.5241 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2539, allocations: 0 / 0.5241 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2539, allocations: 0 / 0.5241 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.254, allocations: 224.4 kB / 0.5243 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.254, allocations: 8.438 kB / 0.5243 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.2541, allocations: 15.44 kB / 0.5243 GB, free: 31.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.2541, allocations: 3.938 kB / 0.5243 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.2541, allocations: 2.469 kB / 0.5243 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2541, allocations: 0 / 0.5243 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2541, allocations: 0 / 0.5243 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.2544, allocations: 224 kB / 0.5245 GB, free: 31.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.2544, allocations: 98.14 kB / 0.5246 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.2544, allocations: 0 / 0.5246 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.2545, allocations: 8.953 kB / 0.5246 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.2546, allocations: 6.812 kB / 0.5247 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.2546, allocations: 2.969 kB / 0.5247 GB, free: 31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.704e-05/0.2547, allocations: 178.7 kB / 0.5248 GB, free: 30.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2547, allocations: 4 kB / 0.5248 GB, free: 30.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.255, allocations: 77.8 kB / 0.5249 GB, free: 30.88 MB / 378.7 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005307/0.2556, allocations: 0.8239 MB / 0.5257 GB, free: 30.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.2559, allocations: 179.7 kB / 0.5259 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2559, allocations: 0 / 0.5259 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.2561, allocations: 105.4 kB / 0.526 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.2564, allocations: 27.23 kB / 0.526 GB, free: 29.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.2578, allocations: 1.28 MB / 0.5273 GB, free: 29.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.258, allocations: 0.7322 MB / 0.528 GB, free: 28.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.258, allocations: 55.7 kB / 0.528 GB, free: 28.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.258, allocations: 0 / 0.528 GB, free: 28.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.014/3.272, allocations: 5.117 MB / 0.533 GB, free: 28.01 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches