Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/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_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001418, allocations: 180.1 kB / 16.12 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 222.3 MB, free: 9.004 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.0008566/0.0008566, allocations: 91.38 kB / 270.6 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8326/0.8326, allocations: 89.58 MB / 408.5 MB, free: 4.492 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004195, allocations: 11.98 kB / 485.2 MB, free: 7.641 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3473, allocations: 66.01 MB / 0.5383 GB, free: 34.43 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.69/2.037, allocations: 0.7552 GB / 1.293 GB, free: 80.42 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/2.038, allocations: 87.94 kB / 1.294 GB, free: 80.34 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.577/3.614, allocations: 410.9 MB / 1.695 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.535e-06/3.614, allocations: 0 / 1.695 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001036/3.615, allocations: 26.58 kB / 1.695 GB, free: 111.9 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.008574/3.623, allocations: 2.145 MB / 1.697 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/3.623, allocations: 9.688 kB / 1.697 GB, free: 110.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/3.625, allocations: 206.1 kB / 1.697 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/3.626, allocations: 0.5086 MB / 1.698 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/3.627, allocations: 190.9 kB / 1.698 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/3.627, allocations: 67.91 kB / 1.698 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/3.629, allocations: 0.7169 MB / 1.699 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/3.629, allocations: 3.938 kB / 1.699 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/3.629, allocations: 26.88 kB / 1.699 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/3.629, allocations: 17.22 kB / 1.699 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/3.63, allocations: 0.6339 MB / 1.699 GB, free: 110.2 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004303/3.635, allocations: 2.578 MB / 1.702 GB, free: 109 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/3.636, allocations: 0.6801 MB / 1.702 GB, free: 109 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006696/3.637, allocations: 379 kB / 1.703 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/3.638, allocations: 1.463 MB / 1.704 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/3.638, allocations: 38.62 kB / 1.704 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=62): time 4.368e-06/3.638, allocations: 3.812 kB / 1.704 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=62): time 0.004793/3.643, allocations: 1.938 MB / 1.706 GB, free: 107.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/3.643, allocations: 59.53 kB / 1.706 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/3.644, allocations: 388.9 kB / 1.707 GB, free: 107 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/3.644, allocations: 31.83 kB / 1.707 GB, free: 107 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/3.644, allocations: 322.1 kB / 1.707 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/3.644, allocations: 215.8 kB / 1.707 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/3.644, allocations: 10.44 kB / 1.707 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001287/3.644, allocations: 360.6 kB / 1.707 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006023/3.645, allocations: 288.2 kB / 1.708 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005954/3.646, allocations: 300.7 kB / 1.708 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/3.647, allocations: 0.5892 MB / 1.709 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/3.647, allocations: 0 / 1.709 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002637/3.649, allocations: 1.134 MB / 1.71 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/3.649, allocations: 6.844 kB / 1.71 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/3.649, allocations: 0 / 1.71 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007625/3.65, allocations: 256 kB / 1.71 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/3.651, allocations: 148.2 kB / 1.71 GB, free: 106.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00477/3.656, allocations: 4.896 MB / 1.715 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007072/3.656, allocations: 81.61 kB / 1.715 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/3.657, allocations: 48.45 kB / 1.715 GB, free: 102.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (55): * Single equations (assignments): 50 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005069/3.657, allocations: 193.2 kB / 1.715 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/3.657, allocations: 52.22 kB / 1.715 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003813/3.661, allocations: 1.371 MB / 1.717 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/3.661, allocations: 7.781 kB / 1.717 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/3.661, allocations: 3.844 kB / 1.717 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/3.661, allocations: 3.516 kB / 1.717 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/3.665, allocations: 2.094 MB / 1.719 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/3.665, allocations: 0 / 1.719 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006886/3.666, allocations: 154.1 kB / 1.719 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006862/3.667, allocations: 262.3 kB / 1.719 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-05/3.667, allocations: 37.5 kB / 1.719 GB, free: 101.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004865/3.672, allocations: 4.895 MB / 1.724 GB, free: 98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/3.672, allocations: 2.906 kB / 1.724 GB, free: 98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003692/3.676, allocations: 1.579 MB / 1.725 GB, free: 97.61 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/3.676, allocations: 202.8 kB / 1.726 GB, free: 97.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/3.676, allocations: 15.77 kB / 1.726 GB, free: 97.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/3.677, allocations: 59.17 kB / 1.726 GB, free: 97.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/3.677, allocations: 60.67 kB / 1.726 GB, free: 97.42 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.532e-05/3.677, allocations: 48.72 kB / 1.726 GB, free: 97.42 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004088/3.677, allocations: 270 kB / 1.726 GB, free: 97.28 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/3.677, allocations: 0 / 1.726 GB, free: 97.28 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003489/3.681, allocations: 0.6712 MB / 1.727 GB, free: 97.06 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * 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 (55): * Single equations (assignments): 50 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005513/3.686, allocations: 1.631 MB / 1.728 GB, free: 96.63 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003549/3.69, allocations: 1.251 MB / 1.729 GB, free: 96.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/3.69, allocations: 3.438 kB / 1.729 GB, free: 96.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001873/3.692, allocations: 0.9524 MB / 1.73 GB, free: 95.49 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/3.693, allocations: 156.2 kB / 1.731 GB, free: 95.44 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/3.697, allocations: 1.968 MB / 1.732 GB, free: 94.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/3.697, allocations: 0.926 MB / 1.733 GB, free: 93.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001033/3.698, allocations: 196.6 kB / 1.734 GB, free: 93.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/3.699, allocations: 88.41 kB / 1.734 GB, free: 93.76 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/3.699, allocations: 2.781 kB / 1.734 GB, free: 93.76 MB / 0.5886 GB Notification: Performance of Templates: time 0.03893/3.738, allocations: 29.24 MB / 1.762 GB, free: 69.2 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches