Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.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_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_OM_adaptions_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_OM_adaptions_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.001227/0.001227, allocations: 174.6 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.625/1.625, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008254/0.0008256, allocations: 84.86 kB / 266.6 MB, free: 9.273 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.7821/0.7821, allocations: 90.35 MB / 405 MB, free: 8.641 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.794e-05/2.797e-05, allocations: 4 kB / 479.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3876, allocations: 66.26 MB / 0.5326 GB, free: 28.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.792/2.18, allocations: 0.7552 GB / 1.288 GB, free: 97.32 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/2.18, allocations: 83.89 kB / 1.288 GB, free: 97.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.552/3.733, allocations: 427.4 MB / 1.705 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/3.733, allocations: 3.938 kB / 1.705 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.835e-05/3.733, allocations: 23 kB / 1.705 GB, free: 106.1 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.005632/3.738, allocations: 2.068 MB / 1.707 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/3.739, allocations: 9 kB / 1.707 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/3.74, allocations: 201.7 kB / 1.708 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000679/3.741, allocations: 0.4895 MB / 1.708 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/3.741, allocations: 182.6 kB / 1.708 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/3.741, allocations: 72.22 kB / 1.708 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/3.742, allocations: 0.6255 MB / 1.709 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/3.742, allocations: 0 / 1.709 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/3.742, allocations: 29.05 kB / 1.709 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/3.742, allocations: 16.75 kB / 1.709 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008637/3.743, allocations: 0.5238 MB / 1.709 GB, free: 104.4 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.002917/3.746, allocations: 2.575 MB / 1.712 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000949/3.747, allocations: 0.5723 MB / 1.713 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/3.747, allocations: 291.1 kB / 1.713 GB, free: 103.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/3.748, allocations: 495.7 kB / 1.713 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/3.748, allocations: 42.45 kB / 1.713 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=62): time 2.555e-06/3.748, allocations: 0 / 1.713 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=62): time 0.002133/3.75, allocations: 0.8943 MB / 1.714 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/3.75, allocations: 59.44 kB / 1.714 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/3.75, allocations: 335.5 kB / 1.715 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/3.75, allocations: 36.8 kB / 1.715 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/3.75, allocations: 312.5 kB / 1.715 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/3.751, allocations: 216.9 kB / 1.715 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/3.751, allocations: 6.625 kB / 1.715 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.465e-05/3.751, allocations: 377.8 kB / 1.715 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/3.751, allocations: 200.4 kB / 1.716 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/3.751, allocations: 207.9 kB / 1.716 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/3.752, allocations: 205 kB / 1.716 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/3.752, allocations: 0 / 1.716 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001956/3.754, allocations: 0.9084 MB / 1.717 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/3.754, allocations: 7.688 kB / 1.717 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/3.754, allocations: 1.906 kB / 1.717 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004525/3.754, allocations: 154.2 kB / 1.717 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/3.755, allocations: 148 kB / 1.717 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/3.758, allocations: 4.503 MB / 1.722 GB, free: 97.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/3.759, allocations: 78.11 kB / 1.722 GB, free: 97.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.734e-05/3.759, allocations: 53.53 kB / 1.722 GB, free: 97.8 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 () * 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.000141/3.759, allocations: 128.1 kB / 1.722 GB, free: 97.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.686e-05/3.759, allocations: 57.19 kB / 1.722 GB, free: 97.66 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/3.762, allocations: 1.153 MB / 1.723 GB, free: 97.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/3.762, allocations: 7.812 kB / 1.723 GB, free: 97.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/3.762, allocations: 3.938 kB / 1.723 GB, free: 97.55 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/3.762, allocations: 3.797 kB / 1.723 GB, free: 97.55 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/3.765, allocations: 1.874 MB / 1.725 GB, free: 97.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/3.765, allocations: 3.844 kB / 1.725 GB, free: 97.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/3.766, allocations: 143 kB / 1.725 GB, free: 97.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003996/3.766, allocations: 160.6 kB / 1.725 GB, free: 97.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-05/3.766, allocations: 32.81 kB / 1.725 GB, free: 97.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/3.77, allocations: 4.495 MB / 1.73 GB, free: 93.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/3.77, allocations: 7.547 kB / 1.73 GB, free: 93.37 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/3.772, allocations: 1.336 MB / 1.731 GB, free: 93.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/3.773, allocations: 202.1 kB / 1.731 GB, free: 92.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/3.773, allocations: 12.31 kB / 1.731 GB, free: 92.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/3.773, allocations: 61.5 kB / 1.731 GB, free: 92.96 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/3.773, allocations: 62.81 kB / 1.731 GB, free: 92.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-05/3.773, allocations: 46.83 kB / 1.731 GB, free: 92.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002761/3.774, allocations: 275.4 kB / 1.732 GB, free: 92.88 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.6e-07/3.774, allocations: 0 / 1.732 GB, free: 92.88 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002444/3.776, allocations: 0.6548 MB / 1.732 GB, free: 92.75 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 () * 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.002613/3.779, allocations: 1.642 MB / 1.734 GB, free: 92.35 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001845/3.781, allocations: 1.093 MB / 1.735 GB, free: 91.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/3.781, allocations: 3.938 kB / 1.735 GB, free: 91.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/3.782, allocations: 0.8823 MB / 1.736 GB, free: 91.51 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/3.783, allocations: 140.3 kB / 1.736 GB, free: 91.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/3.785, allocations: 1.185 MB / 1.737 GB, free: 91.12 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/3.785, allocations: 0.9367 MB / 1.738 GB, free: 90.43 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000869/3.786, allocations: 192.8 kB / 1.738 GB, free: 90.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/3.786, allocations: 94.05 kB / 1.738 GB, free: 90.39 MB / 0.5886 GB Notification: Performance of SimCode: time 2.51e-07/3.786, allocations: 0 / 1.738 GB, free: 90.39 MB / 0.5886 GB Notification: Performance of Templates: time 0.03992/3.826, allocations: 32.29 MB / 1.77 GB, free: 72.79 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches