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.001554/0.001554, allocations: 175 kB / 12.73 MB, free: 2.59 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.733/1.733, allocations: 205.2 MB / 218.5 MB, free: 9.223 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.0008766/0.0008766, allocations: 81.06 kB / 266.6 MB, free: 9.285 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.8476/0.8476, allocations: 90.34 MB / 405 MB, free: 8.633 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.58e-05, allocations: 0 / 479.2 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3814, allocations: 66.26 MB / 0.5326 GB, free: 28.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.657/2.038, allocations: 0.7566 GB / 1.289 GB, free: 71.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/2.038, allocations: 83.22 kB / 1.289 GB, free: 71.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.822/3.861, allocations: 0.5306 GB / 1.82 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.675e-06/3.861, allocations: 0 / 1.82 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001144/3.861, allocations: 31.92 kB / 1.82 GB, free: 10.66 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.008267/3.869, allocations: 2.645 MB / 1.822 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/3.869, allocations: 8.031 kB / 1.822 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/3.871, allocations: 242.4 kB / 1.823 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/3.872, allocations: 0.5607 MB / 1.823 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/3.872, allocations: 200.8 kB / 1.823 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/3.873, allocations: 87.91 kB / 1.824 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/3.874, allocations: 0.8822 MB / 1.824 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/3.874, allocations: 0 / 1.824 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/3.875, allocations: 32 kB / 1.824 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/3.875, allocations: 27.98 kB / 1.824 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/3.876, allocations: 0.6794 MB / 1.825 GB, free: 5.168 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.004246/3.88, allocations: 3.619 MB / 1.829 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/3.881, allocations: 0.79 MB / 1.829 GB, free: 460 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/3.882, allocations: 371.7 kB / 1.83 GB, free: 84 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3606/4.243, allocations: 1.124 MB / 1.831 GB, free: 70.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/4.243, allocations: 45 kB / 1.831 GB, free: 70.83 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 3.307e-06/4.243, allocations: 3.281 kB / 1.831 GB, free: 70.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.003073/4.246, allocations: 1.082 MB / 1.832 GB, free: 70.77 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/4.246, allocations: 59.47 kB / 1.832 GB, free: 70.71 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/4.246, allocations: 421.5 kB / 1.832 GB, free: 70.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/4.246, allocations: 40.02 kB / 1.832 GB, free: 70.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/4.247, allocations: 392.8 kB / 1.833 GB, free: 70.47 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/4.247, allocations: 281.4 kB / 1.833 GB, free: 70.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/4.247, allocations: 16.81 kB / 1.833 GB, free: 70.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/4.247, allocations: 383.3 kB / 1.833 GB, free: 70.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/4.247, allocations: 260.2 kB / 1.834 GB, free: 70.01 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/4.248, allocations: 335.8 kB / 1.834 GB, free: 69.97 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/4.248, allocations: 282.4 kB / 1.834 GB, free: 69.96 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/4.248, allocations: 0 / 1.834 GB, free: 69.96 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002465/4.251, allocations: 1.12 MB / 1.835 GB, free: 69.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/4.251, allocations: 5.5 kB / 1.835 GB, free: 69.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/4.251, allocations: 5.094 kB / 1.835 GB, free: 69.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005563/4.251, allocations: 179 kB / 1.836 GB, free: 69.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008892/4.252, allocations: 195.6 kB / 1.836 GB, free: 69.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/4.256, allocations: 4.637 MB / 1.84 GB, free: 66.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008042/4.257, allocations: 99.75 kB / 1.84 GB, free: 66.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/4.257, allocations: 55.09 kB / 1.84 GB, free: 66.02 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.0001899/4.257, allocations: 154.5 kB / 1.841 GB, free: 65.91 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/4.257, allocations: 74.8 kB / 1.841 GB, free: 65.88 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/4.261, allocations: 1.467 MB / 1.842 GB, free: 65.77 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/4.261, allocations: 14.97 kB / 1.842 GB, free: 65.77 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/4.261, allocations: 2.562 kB / 1.842 GB, free: 65.77 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/4.261, allocations: 8.172 kB / 1.842 GB, free: 65.77 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/4.266, allocations: 2.316 MB / 1.844 GB, free: 65.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/4.266, allocations: 0.625 kB / 1.844 GB, free: 65.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009762/4.267, allocations: 204.7 kB / 1.845 GB, free: 65.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005067/4.267, allocations: 172.9 kB / 1.845 GB, free: 65.36 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/4.267, allocations: 42.5 kB / 1.845 GB, free: 65.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00372/4.271, allocations: 4.633 MB / 1.849 GB, free: 61.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/4.271, allocations: 2.969 kB / 1.849 GB, free: 61.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/4.274, allocations: 1.661 MB / 1.851 GB, free: 61.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000471/4.275, allocations: 248.8 kB / 1.851 GB, free: 61.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/4.275, allocations: 16.81 kB / 1.851 GB, free: 61.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/4.276, allocations: 61.58 kB / 1.851 GB, free: 61.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/4.276, allocations: 85.88 kB / 1.851 GB, free: 61.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/4.276, allocations: 55.28 kB / 1.851 GB, free: 61.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004051/4.276, allocations: 334.3 kB / 1.852 GB, free: 61.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/4.276, allocations: 0 / 1.852 GB, free: 61.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003358/4.28, allocations: 0.8997 MB / 1.853 GB, free: 61.06 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.004163/4.284, allocations: 1.928 MB / 1.854 GB, free: 60.75 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002511/4.286, allocations: 1.282 MB / 1.856 GB, free: 60.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/4.286, allocations: 1.156 kB / 1.856 GB, free: 60.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/4.288, allocations: 0.9986 MB / 1.857 GB, free: 59.93 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/4.289, allocations: 186 kB / 1.857 GB, free: 59.92 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/4.292, allocations: 1.547 MB / 1.858 GB, free: 59.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/4.293, allocations: 1.02 MB / 1.859 GB, free: 58.82 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00131/4.294, allocations: 277.9 kB / 1.86 GB, free: 58.81 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/4.294, allocations: 112.5 kB / 1.86 GB, free: 58.81 MB / 0.5886 GB Notification: Performance of SimCode: time 8.92e-07/4.294, allocations: 1.688 kB / 1.86 GB, free: 58.81 MB / 0.5886 GB Notification: Performance of Templates: time 0.04858/4.343, allocations: 37.23 MB / 1.896 GB, free: 57.65 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