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.01167/0.01167, allocations: 170 kB / 15.11 MB, free: 5.969 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.786/1.786, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.0009485/0.0009488, allocations: 94.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8431/0.8431, allocations: 90.59 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 11.98 kB / 485.2 MB, free: 2.082 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4478, allocations: 66.28 MB / 0.5386 GB, free: 45.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.688/2.136, allocations: 0.7553 GB / 1.294 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/2.136, allocations: 84.39 kB / 1.294 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.746/3.882, allocations: 428.6 MB / 1.713 GB, free: 87.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.166e-06/3.882, allocations: 2.031 kB / 1.713 GB, free: 87.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.126e-05/3.882, allocations: 26.7 kB / 1.713 GB, free: 87.31 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.007781/3.89, allocations: 2.146 MB / 1.715 GB, free: 86.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/3.89, allocations: 11.56 kB / 1.715 GB, free: 86.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/3.891, allocations: 202.6 kB / 1.715 GB, free: 86.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009374/3.892, allocations: 492.2 kB / 1.715 GB, free: 86.03 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/3.893, allocations: 180.3 kB / 1.715 GB, free: 85.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/3.893, allocations: 75.64 kB / 1.716 GB, free: 85.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/3.894, allocations: 0.7182 MB / 1.716 GB, free: 85.85 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/3.894, allocations: 3.938 kB / 1.716 GB, free: 85.85 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/3.894, allocations: 24.34 kB / 1.716 GB, free: 85.85 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/3.894, allocations: 19.38 kB / 1.716 GB, free: 85.85 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/3.896, allocations: 0.6357 MB / 1.717 GB, free: 85.84 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.003496/3.899, allocations: 2.56 MB / 1.719 GB, free: 84.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/3.901, allocations: 0.6854 MB / 1.72 GB, free: 84.64 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/3.901, allocations: 494.4 kB / 1.721 GB, free: 84.17 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/3.901, allocations: 42.16 kB / 1.721 GB, free: 84.13 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=62): time 3.747e-06/3.901, allocations: 0 / 1.721 GB, free: 84.13 MB / 0.5886 GB Notification: Performance of matching and sorting (n=62): time 0.004935/3.906, allocations: 2.084 MB / 1.723 GB, free: 83.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/3.906, allocations: 59.72 kB / 1.723 GB, free: 83.49 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/3.907, allocations: 340.1 kB / 1.723 GB, free: 83.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/3.907, allocations: 33.52 kB / 1.723 GB, free: 83.36 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/3.907, allocations: 317.9 kB / 1.723 GB, free: 83.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/3.907, allocations: 218.7 kB / 1.724 GB, free: 83.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/3.907, allocations: 10.31 kB / 1.724 GB, free: 83.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001234/3.907, allocations: 366.4 kB / 1.724 GB, free: 82.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/3.908, allocations: 287 kB / 1.724 GB, free: 82.75 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/3.908, allocations: 300 kB / 1.724 GB, free: 82.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006008/3.909, allocations: 293.8 kB / 1.725 GB, free: 82.74 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/3.909, allocations: 0 / 1.725 GB, free: 82.74 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002727/3.912, allocations: 1.127 MB / 1.726 GB, free: 82.64 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/3.912, allocations: 3.312 kB / 1.726 GB, free: 82.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/3.912, allocations: 3.953 kB / 1.726 GB, free: 82.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008311/3.913, allocations: 259.7 kB / 1.726 GB, free: 82.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/3.913, allocations: 146.8 kB / 1.726 GB, free: 82.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004995/3.918, allocations: 4.97 MB / 1.731 GB, free: 78.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007299/3.919, allocations: 80.83 kB / 1.731 GB, free: 78.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/3.919, allocations: 42.67 kB / 1.731 GB, free: 78.82 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.0004159/3.92, allocations: 183.5 kB / 1.731 GB, free: 78.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/3.92, allocations: 62.83 kB / 1.731 GB, free: 78.67 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/3.923, allocations: 1.37 MB / 1.733 GB, free: 78.57 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/3.923, allocations: 7.25 kB / 1.733 GB, free: 78.57 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/3.923, allocations: 0 / 1.733 GB, free: 78.57 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/3.923, allocations: 7.141 kB / 1.733 GB, free: 78.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004/3.927, allocations: 2.094 MB / 1.735 GB, free: 78.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/3.927, allocations: 4.031 kB / 1.735 GB, free: 78.17 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007299/3.928, allocations: 154.5 kB / 1.735 GB, free: 78.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006637/3.929, allocations: 261.4 kB / 1.735 GB, free: 78.15 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/3.929, allocations: 25.66 kB / 1.735 GB, free: 78.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004554/3.933, allocations: 4.97 MB / 1.74 GB, free: 74.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/3.933, allocations: 3.812 kB / 1.74 GB, free: 74.37 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/3.937, allocations: 1.604 MB / 1.742 GB, free: 74.11 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/3.937, allocations: 194.4 kB / 1.742 GB, free: 73.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/3.937, allocations: 14.88 kB / 1.742 GB, free: 73.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/3.938, allocations: 61.31 kB / 1.742 GB, free: 73.98 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/3.938, allocations: 56.58 kB / 1.742 GB, free: 73.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.559e-05/3.938, allocations: 53.95 kB / 1.742 GB, free: 73.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003211/3.938, allocations: 271.4 kB / 1.742 GB, free: 73.89 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.282e-06/3.938, allocations: 1.438 kB / 1.742 GB, free: 73.89 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002961/3.941, allocations: 0.6691 MB / 1.743 GB, free: 73.76 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.003627/3.945, allocations: 1.633 MB / 1.745 GB, free: 73.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002871/3.948, allocations: 1.256 MB / 1.746 GB, free: 72.98 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/3.948, allocations: 0 / 1.746 GB, free: 72.98 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/3.95, allocations: 0.9505 MB / 1.747 GB, free: 72.57 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009236/3.951, allocations: 137.5 kB / 1.747 GB, free: 72.56 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/3.954, allocations: 1.962 MB / 1.749 GB, free: 71.75 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/3.954, allocations: 0.9362 MB / 1.75 GB, free: 71.05 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001009/3.956, allocations: 194.8 kB / 1.75 GB, free: 71.04 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/3.956, allocations: 87.55 kB / 1.75 GB, free: 71.04 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/3.956, allocations: 0 / 1.75 GB, free: 71.04 MB / 0.5886 GB Notification: Performance of Templates: time 0.04049/3.996, allocations: 28.92 MB / 1.778 GB, free: 69.4 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