Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001375, allocations: 175.7 kB / 15.77 MB, free: 6.328 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.739/1.739, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0008994/0.0008995, allocations: 94.23 kB / 270.3 MB, free: 13.35 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.8344/0.8344, allocations: 90.6 MB / 409.1 MB, free: 15 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 8 kB / 485.9 MB, free: 2.094 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4405, allocations: 66.28 MB / 0.5392 GB, free: 45.63 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.2317/0.6722, allocations: 192.5 MB / 0.7272 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01741/0.6897, allocations: 15.06 MB / 0.7419 GB, free: 11.97 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.6908, allocations: 19.88 kB / 0.7419 GB, free: 11.95 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.6919, allocations: 369.9 kB / 0.7423 GB, free: 11.59 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.6955, allocations: 1.061 MB / 0.7433 GB, free: 10.52 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.005592/0.7011, allocations: 1.809 MB / 0.7451 GB, free: 8.727 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.001954/0.7031, allocations: 1.148 MB / 0.7462 GB, free: 7.574 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.7035, allocations: 192.6 kB / 0.7464 GB, free: 7.367 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.7056, allocations: 0.8685 MB / 0.7472 GB, free: 6.496 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004555/0.7061, allocations: 386.2 kB / 0.7476 GB, free: 6.117 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.7061, allocations: 36 kB / 0.7476 GB, free: 6.082 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007587/0.7137, allocations: 3.891 MB / 0.7514 GB, free: 2.188 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.714, allocations: 123.4 kB / 0.7516 GB, free: 2.066 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0003353/0.7144, allocations: 165.3 kB / 0.7517 GB, free: 1.898 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.7177, allocations: 1.594 MB / 0.7533 GB, free: 308 kB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.7177, allocations: 11.94 kB / 0.7533 GB, free: 296 kB / 0.5574 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7178, allocations: 0 / 0.7533 GB, free: 296 kB / 0.5574 GB Notification: Performance of Transformations before backend: time 9.799e-06/0.7178, allocations: 4 kB / 0.7533 GB, free: 292 kB / 0.5574 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.3117/1.029, allocations: 1.327 MB / 0.7546 GB, free: 184.9 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/1.03, allocations: 9.719 kB / 0.7546 GB, free: 184.9 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/1.031, allocations: 199.4 kB / 0.7548 GB, free: 184.9 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006959/1.032, allocations: 474.7 kB / 0.7552 GB, free: 184.6 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/1.032, allocations: 179.2 kB / 0.7554 GB, free: 184.5 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/1.032, allocations: 70.3 kB / 0.7555 GB, free: 184.5 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/1.033, allocations: 0.7289 MB / 0.7562 GB, free: 184.4 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/1.033, allocations: 1.203 kB / 0.7562 GB, free: 184.4 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/1.034, allocations: 28.19 kB / 0.7562 GB, free: 184.4 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/1.034, allocations: 13.91 kB / 0.7562 GB, free: 184.4 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/1.035, allocations: 0.6515 MB / 0.7569 GB, free: 184.4 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/1.038, allocations: 2.801 MB / 0.7596 GB, free: 183 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/1.039, allocations: 0.6504 MB / 0.7602 GB, free: 183 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007337/1.04, allocations: 382.5 kB / 0.7606 GB, free: 182.9 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/1.042, allocations: 2.158 MB / 0.7627 GB, free: 180.8 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/1.042, allocations: 41.5 kB / 0.7628 GB, free: 180.7 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=63): time 3.096e-06/1.042, allocations: 0 / 0.7628 GB, free: 180.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=63): time 0.005237/1.047, allocations: 1.971 MB / 0.7647 GB, free: 180.3 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/1.047, allocations: 56.91 kB / 0.7647 GB, free: 180.3 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/1.047, allocations: 387.8 kB / 0.7651 GB, free: 180.2 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/1.048, allocations: 34.33 kB / 0.7651 GB, free: 180.1 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/1.048, allocations: 312.4 kB / 0.7654 GB, free: 180 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/1.048, allocations: 220.9 kB / 0.7656 GB, free: 179.8 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/1.048, allocations: 14.66 kB / 0.7657 GB, free: 179.8 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.048, allocations: 367.2 kB / 0.766 GB, free: 179.5 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006692/1.049, allocations: 288.1 kB / 0.7663 GB, free: 179.5 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006548/1.049, allocations: 299.9 kB / 0.7666 GB, free: 179.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/1.05, allocations: 299.3 kB / 0.7669 GB, free: 179.4 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.05, allocations: 0 / 0.7669 GB, free: 179.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002644/1.053, allocations: 1.134 MB / 0.768 GB, free: 179.1 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.053, allocations: 3.031 kB / 0.768 GB, free: 179.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.053, allocations: 0 / 0.768 GB, free: 179.1 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007827/1.054, allocations: 261.6 kB / 0.7682 GB, free: 179 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/1.054, allocations: 149 kB / 0.7684 GB, free: 179 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004705/1.059, allocations: 4.893 MB / 0.7731 GB, free: 174.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/1.059, allocations: 84.06 kB / 0.7732 GB, free: 174.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/1.06, allocations: 40.33 kB / 0.7733 GB, free: 174.8 MB / 0.5574 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 (56): * Single equations (assignments): 51 * 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.0002887/1.06, allocations: 189.1 kB / 0.7734 GB, free: 174.6 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-05/1.06, allocations: 57.42 kB / 0.7735 GB, free: 174.6 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/1.064, allocations: 1.339 MB / 0.7748 GB, free: 174.1 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.064, allocations: 7.156 kB / 0.7748 GB, free: 174.1 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.064, allocations: 5.125 kB / 0.7748 GB, free: 174.1 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/1.064, allocations: 4.5 kB / 0.7748 GB, free: 174.1 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0042/1.068, allocations: 2.142 MB / 0.7769 GB, free: 173.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/1.068, allocations: 1.156 kB / 0.7769 GB, free: 173.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/1.069, allocations: 145.1 kB / 0.777 GB, free: 173.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007494/1.069, allocations: 269.2 kB / 0.7773 GB, free: 173.1 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/1.069, allocations: 36.77 kB / 0.7773 GB, free: 173.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005021/1.074, allocations: 4.89 MB / 0.7821 GB, free: 168.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.074, allocations: 1.25 kB / 0.7821 GB, free: 168.9 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00403/1.079, allocations: 1.604 MB / 0.7837 GB, free: 168.3 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/1.079, allocations: 135.6 kB / 0.7838 GB, free: 168.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.059e-05/1.079, allocations: 17.08 kB / 0.7838 GB, free: 168.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/1.079, allocations: 63.78 kB / 0.7839 GB, free: 168.1 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/1.08, allocations: 60.17 kB / 0.7839 GB, free: 168.1 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.08, allocations: 43.81 kB / 0.784 GB, free: 168.1 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0003631/1.08, allocations: 273.1 kB / 0.7842 GB, free: 168 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3e-07/1.08, allocations: 0 / 0.7842 GB, free: 168 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001995/1.082, allocations: 0.549 MB / 0.7848 GB, free: 167.8 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.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 (57): * Single equations (assignments): 52 * 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.001953/1.084, allocations: 0.8525 MB / 0.7856 GB, free: 167.6 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.002805/1.087, allocations: 1.247 MB / 0.7868 GB, free: 167 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.087, allocations: 4 kB / 0.7868 GB, free: 166.9 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/1.089, allocations: 0.9605 MB / 0.7878 GB, free: 166.4 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009249/1.09, allocations: 150 kB / 0.7879 GB, free: 166.3 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/1.093, allocations: 1.984 MB / 0.7899 GB, free: 165.2 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/1.093, allocations: 0.9209 MB / 0.7908 GB, free: 164.5 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004418/1.094, allocations: 109.4 kB / 0.7909 GB, free: 164.5 MB / 0.5574 GB Notification: Performance of SimCode: time 1.172e-06/1.094, allocations: 0 / 0.7909 GB, free: 164.5 MB / 0.5574 GB Notification: Performance of Templates: time 0.04126/1.135, allocations: 24.52 MB / 0.8148 GB, free: 151.8 MB / 0.5574 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches