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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008952/0.0008952, allocations: 86.22 kB / 261.4 MB, free: 13.44 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.7667/0.7667, allocations: 90.37 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.78e-05, allocations: 8 kB / 472.2 MB, free: 3.469 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3723, allocations: 66.25 MB / 0.5258 GB, free: 29.04 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.739/2.112, allocations: 0.7559 GB / 1.282 GB, free: 87.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/2.112, allocations: 79.09 kB / 1.282 GB, free: 87.47 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.782/3.894, allocations: 0.5265 GB / 1.808 GB, free: 36.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.422e-06/3.894, allocations: 0 / 1.808 GB, free: 36.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.432e-05/3.894, allocations: 31.98 kB / 1.808 GB, free: 36.09 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.007809/3.902, allocations: 2.637 MB / 1.811 GB, free: 33.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/3.902, allocations: 8.031 kB / 1.811 GB, free: 33.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/3.904, allocations: 246.4 kB / 1.811 GB, free: 33.15 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/3.905, allocations: 0.5606 MB / 1.812 GB, free: 32.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/3.905, allocations: 172.8 kB / 1.812 GB, free: 32.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/3.905, allocations: 59.84 kB / 1.812 GB, free: 32.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009664/3.906, allocations: 0.6092 MB / 1.813 GB, free: 31.69 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/3.907, allocations: 0.7611 MB / 1.813 GB, free: 30.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/3.907, allocations: 4 kB / 1.813 GB, free: 30.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/3.907, allocations: 3.938 kB / 1.813 GB, free: 30.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/3.907, allocations: 20 kB / 1.813 GB, free: 30.88 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/3.911, allocations: 3.472 MB / 1.817 GB, free: 27.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009445/3.912, allocations: 0.7449 MB / 1.817 GB, free: 26.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/3.912, allocations: 351.7 kB / 1.818 GB, free: 26.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007608/3.913, allocations: 1.13 MB / 1.819 GB, free: 24.64 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/3.913, allocations: 39.34 kB / 1.819 GB, free: 24.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 4.128e-06/3.913, allocations: 0 / 1.819 GB, free: 24.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.002992/3.916, allocations: 1.087 MB / 1.82 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/3.916, allocations: 60.19 kB / 1.82 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/3.917, allocations: 362.3 kB / 1.82 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/3.917, allocations: 25.7 kB / 1.82 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/3.917, allocations: 392.2 kB / 1.821 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/3.917, allocations: 279.7 kB / 1.821 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/3.917, allocations: 0 / 1.821 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001088/3.917, allocations: 382.8 kB / 1.821 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/3.918, allocations: 245.5 kB / 1.822 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/3.918, allocations: 315.2 kB / 1.822 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/3.919, allocations: 356.4 kB / 1.822 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/3.919, allocations: 4 kB / 1.822 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002697/3.922, allocations: 1.15 MB / 1.823 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/3.922, allocations: 10.19 kB / 1.823 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/3.922, allocations: 0 / 1.823 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/3.922, allocations: 174.5 kB / 1.824 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000823/3.923, allocations: 199.8 kB / 1.824 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/3.927, allocations: 4.48 MB / 1.828 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007707/3.928, allocations: 83.53 kB / 1.828 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/3.928, allocations: 63.91 kB / 1.828 GB, free: 14.54 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.000194/3.928, allocations: 112.9 kB / 1.828 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/3.928, allocations: 75.14 kB / 1.828 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004142/3.932, allocations: 1.5 MB / 1.83 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/3.932, allocations: 8 kB / 1.83 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/3.932, allocations: 4 kB / 1.83 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/3.932, allocations: 3.984 kB / 1.83 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00458/3.937, allocations: 2.221 MB / 1.832 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.944e-06/3.937, allocations: 4 kB / 1.832 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008903/3.938, allocations: 207.7 kB / 1.832 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/3.938, allocations: 182.4 kB / 1.832 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/3.938, allocations: 27.97 kB / 1.833 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003424/3.942, allocations: 4.476 MB / 1.837 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/3.942, allocations: 0 / 1.837 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/3.945, allocations: 1.696 MB / 1.839 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/3.946, allocations: 236 kB / 1.839 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/3.946, allocations: 4 kB / 1.839 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/3.946, allocations: 55.8 kB / 1.839 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/3.947, allocations: 84.62 kB / 1.839 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.229e-05/3.947, allocations: 55.97 kB / 1.839 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002832/3.947, allocations: 283 kB / 1.839 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/3.947, allocations: 0 / 1.839 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002943/3.95, allocations: 0.8461 MB / 1.84 GB, free: 1.984 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 (83): * Single equations (assignments): 78 * 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 {(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.3934/4.343, allocations: 2.101 MB / 1.842 GB, free: 75.85 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002636/4.346, allocations: 1.224 MB / 1.843 GB, free: 75.48 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/4.346, allocations: 0 / 1.843 GB, free: 75.48 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/4.348, allocations: 0.9467 MB / 1.844 GB, free: 75.11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/4.349, allocations: 158.6 kB / 1.844 GB, free: 75.11 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/4.352, allocations: 1.507 MB / 1.846 GB, free: 74.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/4.352, allocations: 1.015 MB / 1.847 GB, free: 74.03 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00124/4.354, allocations: 271 kB / 1.847 GB, free: 74.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/4.354, allocations: 112.6 kB / 1.847 GB, free: 74.02 MB / 0.5886 GB Notification: Performance of SimCode: time 1.974e-06/4.354, allocations: 0 / 1.847 GB, free: 74.02 MB / 0.5886 GB Notification: Performance of Templates: time 0.0478/4.402, allocations: 25.15 MB / 1.872 GB, free: 73.41 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