Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001719/0.001719, allocations: 176.9 kB / 7.461 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8921/0.8921, allocations: 205.2 MB / 213.1 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007343/0.0007342, allocations: 88.31 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.465/0.465, allocations: 90.35 MB / 399.4 MB, free: 12.29 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.382e-06, allocations: 4 kB / 471.7 MB, free: 3.824 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2048, allocations: 66.26 MB / 0.5253 GB, free: 29.02 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9503/1.155, allocations: 0.7558 GB / 1.281 GB, free: 81.05 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001727/1.155, allocations: 79.14 kB / 1.281 GB, free: 81.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.547/2.703, allocations: 0.6279 GB / 1.909 GB, free: 71.89 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.985e-05/2.703, allocations: 28.33 kB / 1.909 GB, free: 71.89 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.005589/2.708, allocations: 2.668 MB / 1.912 GB, free: 70.78 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/2.708, allocations: 10.47 kB / 1.912 GB, free: 70.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/2.71, allocations: 258.6 kB / 1.912 GB, free: 70.72 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/2.71, allocations: 0.5645 MB / 1.913 GB, free: 70.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/2.711, allocations: 164.1 kB / 1.913 GB, free: 70.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/2.711, allocations: 64.77 kB / 1.913 GB, free: 70.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009054/2.712, allocations: 0.6064 MB / 1.913 GB, free: 70.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009957/2.713, allocations: 0.7706 MB / 1.914 GB, free: 70.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/2.713, allocations: 3.844 kB / 1.914 GB, free: 70.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/2.713, allocations: 0 / 1.914 GB, free: 70.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/2.713, allocations: 18.72 kB / 1.914 GB, free: 70.25 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/2.716, allocations: 3.501 MB / 1.918 GB, free: 68.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/2.717, allocations: 0.6692 MB / 1.918 GB, free: 68.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/2.717, allocations: 352.2 kB / 1.919 GB, free: 68.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005787/2.718, allocations: 1.178 MB / 1.92 GB, free: 67.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/2.718, allocations: 41.91 kB / 1.92 GB, free: 67.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 1.913e-06/2.718, allocations: 2.781 kB / 1.92 GB, free: 67.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.00295/2.721, allocations: 1.132 MB / 1.921 GB, free: 66.95 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.55e-05/2.721, allocations: 59.25 kB / 1.921 GB, free: 66.89 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/2.721, allocations: 368.2 kB / 1.921 GB, free: 66.78 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/2.721, allocations: 25.7 kB / 1.921 GB, free: 66.75 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.997e-05/2.721, allocations: 300.4 kB / 1.922 GB, free: 66.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/2.721, allocations: 275 kB / 1.922 GB, free: 66.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/2.721, allocations: 0 / 1.922 GB, free: 66.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/2.721, allocations: 381.8 kB / 1.922 GB, free: 66.09 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/2.722, allocations: 249.3 kB / 1.922 GB, free: 66.09 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/2.722, allocations: 321.9 kB / 1.923 GB, free: 66.04 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/2.723, allocations: 376 kB / 1.923 GB, free: 66.03 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/2.723, allocations: 0 / 1.923 GB, free: 66.03 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002857/2.726, allocations: 1.202 MB / 1.924 GB, free: 65.91 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/2.726, allocations: 10.41 kB / 1.924 GB, free: 65.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/2.726, allocations: 0 / 1.924 GB, free: 65.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000458/2.727, allocations: 172.9 kB / 1.924 GB, free: 65.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/2.728, allocations: 203.2 kB / 1.925 GB, free: 65.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/2.731, allocations: 4.414 MB / 1.929 GB, free: 62.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/2.731, allocations: 79.44 kB / 1.929 GB, free: 62.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-05/2.731, allocations: 66.36 kB / 1.929 GB, free: 62.26 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 75 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/2.732, allocations: 125.6 kB / 1.929 GB, free: 62.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/2.732, allocations: 66.25 kB / 1.929 GB, free: 62.11 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004467/2.736, allocations: 1.817 MB / 1.931 GB, free: 61.99 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/2.736, allocations: 10.78 kB / 1.931 GB, free: 61.99 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/2.736, allocations: 7.625 kB / 1.931 GB, free: 61.98 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/2.736, allocations: 7.5 kB / 1.931 GB, free: 61.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/2.74, allocations: 2.337 MB / 1.933 GB, free: 61.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/2.74, allocations: 0 / 1.933 GB, free: 61.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009018/2.741, allocations: 205 kB / 1.934 GB, free: 61.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003974/2.742, allocations: 178.8 kB / 1.934 GB, free: 61.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-05/2.742, allocations: 35.09 kB / 1.934 GB, free: 61.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00316/2.745, allocations: 4.417 MB / 1.938 GB, free: 57.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/2.745, allocations: 0 / 1.938 GB, free: 57.98 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003418/2.748, allocations: 1.817 MB / 1.94 GB, free: 57.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/2.749, allocations: 244.7 kB / 1.94 GB, free: 57.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/2.749, allocations: 11.73 kB / 1.94 GB, free: 57.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/2.749, allocations: 49.86 kB / 1.94 GB, free: 57.55 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.509e-05/2.749, allocations: 68.17 kB / 1.94 GB, free: 57.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.834e-05/2.749, allocations: 64.69 kB / 1.94 GB, free: 57.55 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.000214/2.75, allocations: 283.6 kB / 1.941 GB, free: 57.47 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002141/2.752, allocations: 0.9412 MB / 1.941 GB, free: 57.26 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 78 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002677/2.755, allocations: 2.219 MB / 1.944 GB, free: 56.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001745/2.756, allocations: 1.244 MB / 1.945 GB, free: 56.39 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.756, allocations: 0 / 1.945 GB, free: 56.39 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/2.758, allocations: 0.969 MB / 1.946 GB, free: 56.03 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/2.758, allocations: 157.7 kB / 1.946 GB, free: 56.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/2.761, allocations: 1.584 MB / 1.947 GB, free: 55.64 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009541/2.762, allocations: 1.201 MB / 1.949 GB, free: 54.94 MB / 0.5886 GB Notification: Performance of SimCode: time 2.41e-07/2.762, allocations: 0 / 1.949 GB, free: 54.94 MB / 0.5886 GB Notification: Performance of Templates: time 0.03447/2.797, allocations: 28.48 MB / 1.976 GB, free: 52.98 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches