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.000976/0.000976, 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.496/1.496, allocations: 205.3 MB / 213.4 MB, free: 13.7 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.0008741/0.0008742, allocations: 88.97 kB / 261.4 MB, free: 13.43 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.7153/0.7153, allocations: 90.36 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.621e-05/1.632e-05, allocations: 0 / 472.2 MB, free: 3.461 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3706, allocations: 66.25 MB / 0.5258 GB, free: 29.09 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.735/2.106, allocations: 0.7545 GB / 1.28 GB, free: 88.95 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/2.106, allocations: 82.02 kB / 1.28 GB, free: 88.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.581/3.688, allocations: 424 MB / 1.694 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.823e-06/3.688, allocations: 2.844 kB / 1.694 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.644e-05/3.688, allocations: 25.72 kB / 1.695 GB, free: 104.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.006841/3.695, allocations: 2.074 MB / 1.697 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/3.695, allocations: 8.625 kB / 1.697 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/3.696, allocations: 204.5 kB / 1.697 GB, free: 103.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/3.697, allocations: 490.4 kB / 1.697 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/3.698, allocations: 158.3 kB / 1.697 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/3.698, allocations: 50.75 kB / 1.697 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001087/3.699, allocations: 495.4 kB / 1.698 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/3.7, allocations: 0.5334 MB / 1.698 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/3.7, allocations: 0 / 1.698 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/3.7, allocations: 0 / 1.698 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/3.7, allocations: 15.53 kB / 1.698 GB, free: 103.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.003942/3.704, allocations: 2.45 MB / 1.701 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000934/3.705, allocations: 0.5451 MB / 1.701 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/3.706, allocations: 271.8 kB / 1.702 GB, free: 102.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/3.706, allocations: 494 kB / 1.702 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/3.706, allocations: 38 kB / 1.702 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=62): time 3.787e-06/3.706, allocations: 2.75 kB / 1.702 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=62): time 0.002942/3.709, allocations: 0.9012 MB / 1.703 GB, free: 101.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/3.709, allocations: 57.62 kB / 1.703 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/3.71, allocations: 306.5 kB / 1.703 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/3.71, allocations: 25.7 kB / 1.703 GB, free: 101.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/3.71, allocations: 330 kB / 1.704 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/3.71, allocations: 203.6 kB / 1.704 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/3.71, allocations: 0 / 1.704 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001444/3.71, allocations: 362.9 kB / 1.704 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/3.711, allocations: 190.4 kB / 1.704 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/3.711, allocations: 191.1 kB / 1.705 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/3.712, allocations: 266.3 kB / 1.705 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/3.712, allocations: 0 / 1.705 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002438/3.714, allocations: 0.9302 MB / 1.706 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/3.715, allocations: 3.969 kB / 1.706 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/3.715, allocations: 3.344 kB / 1.706 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/3.715, allocations: 152 kB / 1.706 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/3.716, allocations: 153.5 kB / 1.706 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/3.719, allocations: 4.354 MB / 1.71 GB, free: 97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/3.72, allocations: 70.95 kB / 1.71 GB, free: 96.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.711e-05/3.72, allocations: 43.11 kB / 1.71 GB, free: 96.98 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.0001584/3.72, allocations: 113.8 kB / 1.711 GB, free: 96.87 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/3.72, allocations: 58.62 kB / 1.711 GB, free: 96.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/3.724, allocations: 1.164 MB / 1.712 GB, free: 96.74 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/3.724, allocations: 3.844 kB / 1.712 GB, free: 96.74 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/3.724, allocations: 6.656 kB / 1.712 GB, free: 96.74 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-06/3.724, allocations: 3.234 kB / 1.712 GB, free: 96.74 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/3.727, allocations: 1.786 MB / 1.713 GB, free: 96.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/3.727, allocations: 2.438 kB / 1.713 GB, free: 96.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007074/3.728, allocations: 151.3 kB / 1.714 GB, free: 96.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004018/3.728, allocations: 159.4 kB / 1.714 GB, free: 96.35 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/3.729, allocations: 24.03 kB / 1.714 GB, free: 96.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003418/3.732, allocations: 4.359 MB / 1.718 GB, free: 92.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/3.732, allocations: 3.031 kB / 1.718 GB, free: 92.74 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/3.735, allocations: 1.354 MB / 1.719 GB, free: 92.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/3.735, allocations: 192.4 kB / 1.72 GB, free: 92.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/3.735, allocations: 6.422 kB / 1.72 GB, free: 92.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/3.736, allocations: 50.2 kB / 1.72 GB, free: 92.36 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/3.736, allocations: 54.47 kB / 1.72 GB, free: 92.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.909e-05/3.736, allocations: 51.38 kB / 1.72 GB, free: 92.35 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002542/3.736, allocations: 243 kB / 1.72 GB, free: 92.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.61e-07/3.736, allocations: 0 / 1.72 GB, free: 92.27 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002431/3.739, allocations: 0.6132 MB / 1.721 GB, free: 92.13 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.004021/3.743, allocations: 1.819 MB / 1.722 GB, free: 91.74 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001878/3.745, allocations: 1.04 MB / 1.723 GB, free: 91.35 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/3.745, allocations: 2.969 kB / 1.723 GB, free: 91.35 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/3.746, allocations: 0.8519 MB / 1.724 GB, free: 90.96 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/3.747, allocations: 129.3 kB / 1.724 GB, free: 90.95 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/3.749, allocations: 1.138 MB / 1.725 GB, free: 90.63 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/3.75, allocations: 0.9455 MB / 1.726 GB, free: 89.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009439/3.751, allocations: 185.3 kB / 1.727 GB, free: 89.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/3.751, allocations: 89.02 kB / 1.727 GB, free: 89.9 MB / 0.5886 GB Notification: Performance of SimCode: time 6.52e-07/3.751, allocations: 0 / 1.727 GB, free: 89.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.03316/3.784, allocations: 20.56 MB / 1.747 GB, free: 88.34 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