Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008464/0.008464, allocations: 170.6 kB / 15.12 MB, free: 5.555 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.576/1.576, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001049/0.001049, allocations: 90.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.7724/0.7724, allocations: 90.6 MB / 408.5 MB, free: 14.93 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003381, allocations: 8 kB / 485.2 MB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4131, allocations: 66.28 MB / 0.5386 GB, free: 45.58 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.2085/0.6217, allocations: 179 MB / 0.7134 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.02673/0.6485, allocations: 21.27 MB / 0.7342 GB, free: 3.23 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.6503, allocations: 31.81 kB / 0.7342 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.6522, allocations: 0.5714 MB / 0.7348 GB, free: 2.625 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.00614/0.6583, allocations: 1.718 MB / 0.7365 GB, free: 0.9023 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.009147/0.6675, allocations: 2.867 MB / 0.7393 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002466/0.67, allocations: 1.198 MB / 0.7404 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005934/0.6706, allocations: 290.4 kB / 0.7407 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.6727, allocations: 0.9778 MB / 0.7417 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009744/0.6737, allocations: 0.5677 MB / 0.7422 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.6738, allocations: 56 kB / 0.7423 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.6841, allocations: 5.095 MB / 0.7472 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.6846, allocations: 215.1 kB / 0.7474 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005743/0.6852, allocations: 261 kB / 0.7477 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005378/0.6905, allocations: 2.391 MB / 0.75 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.6906, allocations: 0 / 0.75 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6906, allocations: 0 / 0.75 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.742e-05/0.6907, allocations: 0 / 0.75 GB, free: 3.004 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.004829/0.6955, allocations: 1.977 MB / 0.752 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.6956, allocations: 16.03 kB / 0.752 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/0.6984, allocations: 350 kB / 0.7523 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2995/0.998, allocations: 0.6588 MB / 0.7529 GB, free: 181.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005096/0.9986, allocations: 358.5 kB / 0.7533 GB, free: 180.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004225/0.999, allocations: 115.9 kB / 0.7534 GB, free: 180.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/1.002, allocations: 1.387 MB / 0.7548 GB, free: 180.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/1.002, allocations: 0.5938 kB / 0.7548 GB, free: 180.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/1.003, allocations: 47.94 kB / 0.7548 GB, free: 180.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/1.003, allocations: 26.22 kB / 0.7548 GB, free: 180.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002913/1.006, allocations: 1.172 MB / 0.756 GB, free: 180.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00675/1.012, allocations: 4.92 MB / 0.7608 GB, free: 178.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/1.015, allocations: 1.372 MB / 0.7621 GB, free: 178.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/1.017, allocations: 1.725 MB / 0.7638 GB, free: 176.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/1.017, allocations: 45.94 kB / 0.7638 GB, free: 176.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=112): time 4.698e-06/1.017, allocations: 0 / 0.7638 GB, free: 176.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=112): time 0.009025/1.026, allocations: 3.645 MB / 0.7674 GB, free: 175 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/1.026, allocations: 64.75 kB / 0.7675 GB, free: 174.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005923/1.026, allocations: 0.5566 MB / 0.768 GB, free: 174.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/1.026, allocations: 44.58 kB / 0.7681 GB, free: 174.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/1.027, allocations: 472.6 kB / 0.7685 GB, free: 174.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/1.027, allocations: 394 kB / 0.7689 GB, free: 174 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-05/1.027, allocations: 18.66 kB / 0.7689 GB, free: 174 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/1.027, allocations: 349.5 kB / 0.7692 GB, free: 173.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/1.028, allocations: 0.5336 MB / 0.7697 GB, free: 173.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/1.029, allocations: 0.6171 MB / 0.7704 GB, free: 173.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/1.031, allocations: 0.5513 MB / 0.7709 GB, free: 173.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.031, allocations: 1.094 kB / 0.7709 GB, free: 173.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005619/1.036, allocations: 2.102 MB / 0.7729 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/1.036, allocations: 5.469 kB / 0.7729 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/1.036, allocations: 5.016 kB / 0.773 GB, free: 172.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/1.038, allocations: 477 kB / 0.7734 GB, free: 172.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/1.039, allocations: 290.3 kB / 0.7737 GB, free: 172.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009309/1.049, allocations: 7.341 MB / 0.7809 GB, free: 166.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/1.05, allocations: 156.8 kB / 0.781 GB, free: 166.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/1.05, allocations: 83.61 kB / 0.7811 GB, free: 166.5 MB / 0.5573 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000512/1.051, allocations: 246 kB / 0.7813 GB, free: 166.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/1.051, allocations: 90.67 kB / 0.7814 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007785/1.059, allocations: 2.482 MB / 0.7838 GB, free: 165.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/1.059, allocations: 14.28 kB / 0.7838 GB, free: 165.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/1.059, allocations: 3 kB / 0.7838 GB, free: 165.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.901e-05/1.059, allocations: 10.05 kB / 0.7839 GB, free: 165.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009282/1.068, allocations: 3.655 MB / 0.7874 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.068, allocations: 4.859 kB / 0.7874 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/1.07, allocations: 296.6 kB / 0.7877 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/1.072, allocations: 481.6 kB / 0.7882 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/1.072, allocations: 49.69 kB / 0.7882 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009614/1.082, allocations: 7.35 MB / 0.7954 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.082, allocations: 2.922 kB / 0.7954 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00891/1.091, allocations: 2.88 MB / 0.7982 GB, free: 157.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/1.091, allocations: 170.5 kB / 0.7984 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/1.091, allocations: 32 kB / 0.7984 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.092, allocations: 117.5 kB / 0.7985 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/1.093, allocations: 105.7 kB / 0.7986 GB, free: 156.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.093, allocations: 89.03 kB / 0.7987 GB, free: 156.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006892/1.094, allocations: 390.6 kB / 0.7991 GB, free: 156.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.81e-07/1.094, allocations: 0 / 0.7991 GB, free: 156.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003597/1.097, allocations: 0.8733 MB / 0.7999 GB, free: 156.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (107): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003877/1.101, allocations: 1.267 MB / 0.8012 GB, free: 156.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005578/1.107, allocations: 2.132 MB / 0.8032 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.107, allocations: 0 / 0.8032 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003747/1.111, allocations: 1.574 MB / 0.8048 GB, free: 154.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/1.112, allocations: 215.8 kB / 0.805 GB, free: 154.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/1.118, allocations: 3.237 MB / 0.8082 GB, free: 152.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.119, allocations: 1.116 MB / 0.8092 GB, free: 151.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001942/1.121, allocations: 308.1 kB / 0.8095 GB, free: 151.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005853/1.122, allocations: 152.4 kB / 0.8097 GB, free: 151.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.423e-06/1.122, allocations: 0 / 0.8097 GB, free: 151.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.04619/1.168, allocations: 28.29 MB / 0.8373 GB, free: 125.9 MB / 0.5573 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches