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.001054/0.001054, allocations: 174.6 kB / 15.77 MB, free: 6.324 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.752/1.752, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001091/0.001091, allocations: 78.38 kB / 270.3 MB, free: 13.36 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.8059/0.8059, allocations: 90.59 MB / 409.1 MB, free: 15.01 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003866, allocations: 8 kB / 485.9 MB, free: 2.098 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4424, allocations: 66.28 MB / 0.5392 GB, free: 45.62 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.7064/1.149, allocations: 227 MB / 0.7609 GB, free: 6.809 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02275/1.172, allocations: 22.35 MB / 0.7827 GB, free: 6.66 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/1.173, allocations: 25.41 kB / 0.7827 GB, free: 6.66 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.001819/1.175, allocations: 0.5767 MB / 0.7833 GB, free: 6.656 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.005652/1.181, allocations: 1.643 MB / 0.7849 GB, free: 6.633 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.009743/1.191, allocations: 2.856 MB / 0.7877 GB, free: 6.535 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.003785/1.194, allocations: 1.898 MB / 0.7895 GB, free: 6.527 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000576/1.195, allocations: 295.8 kB / 0.7898 GB, free: 6.453 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/1.198, allocations: 1.086 MB / 0.7909 GB, free: 6.438 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008418/1.199, allocations: 0.6378 MB / 0.7915 GB, free: 6.438 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/1.199, allocations: 58.12 kB / 0.7915 GB, free: 6.438 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/1.213, allocations: 6.125 MB / 0.7975 GB, free: 6.301 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0005421/1.214, allocations: 217.7 kB / 0.7977 GB, free: 6.301 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/1.215, allocations: 264.3 kB / 0.798 GB, free: 22.27 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005538/1.22, allocations: 2.494 MB / 0.8004 GB, free: 22.07 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.22, allocations: 0 / 0.8004 GB, free: 22.07 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.347e-06/1.22, allocations: 0 / 0.8004 GB, free: 22.07 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.573e-05/1.22, allocations: 1.859 kB / 0.8004 GB, free: 22.07 MB / 0.573 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.004142/1.224, allocations: 1.997 MB / 0.8024 GB, free: 21.04 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/1.225, allocations: 9.406 kB / 0.8024 GB, free: 21.04 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/1.227, allocations: 341.6 kB / 0.8027 GB, free: 20.96 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000972/1.228, allocations: 0.6862 MB / 0.8034 GB, free: 20.66 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/1.228, allocations: 356.2 kB / 0.8037 GB, free: 20.41 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/1.228, allocations: 121.4 kB / 0.8038 GB, free: 20.4 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/1.231, allocations: 1.394 MB / 0.8052 GB, free: 20.26 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.231, allocations: 0 / 0.8052 GB, free: 20.26 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.231, allocations: 47.56 kB / 0.8052 GB, free: 20.26 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/1.231, allocations: 29.47 kB / 0.8053 GB, free: 20.26 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/1.233, allocations: 1.169 MB / 0.8064 GB, free: 20.23 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005935/1.239, allocations: 4.908 MB / 0.8112 GB, free: 17.73 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/1.242, allocations: 1.383 MB / 0.8125 GB, free: 17.67 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/1.243, allocations: 0.6747 MB / 0.8132 GB, free: 17.65 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003535/1.247, allocations: 4.144 MB / 0.8173 GB, free: 13.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.247, allocations: 48.67 kB / 0.8173 GB, free: 13.46 MB / 0.573 GB Notification: Performance of pre-optimization done (n=112): time 3.597e-06/1.247, allocations: 2.906 kB / 0.8173 GB, free: 13.46 MB / 0.573 GB Notification: Performance of matching and sorting (n=112): time 0.00896/1.256, allocations: 3.485 MB / 0.8207 GB, free: 12.27 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/1.256, allocations: 66.64 kB / 0.8208 GB, free: 12.2 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006411/1.257, allocations: 0.5587 MB / 0.8213 GB, free: 11.99 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/1.257, allocations: 42.89 kB / 0.8214 GB, free: 11.96 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/1.257, allocations: 470.3 kB / 0.8218 GB, free: 11.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/1.257, allocations: 387.5 kB / 0.8222 GB, free: 11.42 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/1.257, allocations: 24.03 kB / 0.8222 GB, free: 11.41 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.258, allocations: 345.6 kB / 0.8225 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/1.259, allocations: 0.5312 MB / 0.823 GB, free: 11.01 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/1.26, allocations: 0.6295 MB / 0.8237 GB, free: 10.86 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/1.261, allocations: 0.5488 MB / 0.8242 GB, free: 10.79 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.261, allocations: 0 / 0.8242 GB, free: 10.79 MB / 0.573 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005104/1.266, allocations: 2.106 MB / 0.8263 GB, free: 10.27 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.266, allocations: 11.16 kB / 0.8263 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.266, allocations: 0 / 0.8263 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/1.267, allocations: 473.5 kB / 0.8267 GB, free: 10.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/1.269, allocations: 296.3 kB / 0.827 GB, free: 10.06 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009087/1.278, allocations: 7.216 MB / 0.834 GB, free: 4.441 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/1.279, allocations: 150.7 kB / 0.8342 GB, free: 4.379 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/1.28, allocations: 87.83 kB / 0.8343 GB, free: 4.363 MB / 0.573 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.000865/1.28, allocations: 238.6 kB / 0.8345 GB, free: 4.246 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/1.281, allocations: 93.7 kB / 0.8346 GB, free: 4.195 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006627/1.288, allocations: 2.488 MB / 0.837 GB, free: 3.504 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.288, allocations: 15.12 kB / 0.837 GB, free: 3.504 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/1.288, allocations: 4.188 kB / 0.837 GB, free: 3.504 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/1.288, allocations: 10.19 kB / 0.837 GB, free: 3.496 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008049/1.296, allocations: 3.662 MB / 0.8406 GB, free: 2.289 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.296, allocations: 4.031 kB / 0.8406 GB, free: 2.285 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/1.297, allocations: 300.6 kB / 0.8409 GB, free: 2.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/1.299, allocations: 477.1 kB / 0.8414 GB, free: 2.078 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/1.299, allocations: 47.16 kB / 0.8414 GB, free: 2.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009736/1.308, allocations: 7.225 MB / 0.8485 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.309, allocations: 7.984 kB / 0.8485 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007543/1.316, allocations: 2.851 MB / 0.8513 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/1.316, allocations: 175.6 kB / 0.8514 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/1.317, allocations: 29.88 kB / 0.8515 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009908/1.318, allocations: 108 kB / 0.8516 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/1.318, allocations: 100.7 kB / 0.8517 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/1.318, allocations: 85.89 kB / 0.8517 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004942/1.319, allocations: 389.1 kB / 0.8521 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3e-07/1.319, allocations: 0 / 0.8521 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002758/1.321, allocations: 0.8757 MB / 0.853 GB, free: 7.586 MB / 0.5886 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.003286/1.325, allocations: 1.268 MB / 0.8542 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004862/1.33, allocations: 2.135 MB / 0.8563 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.33, allocations: 0 / 0.8563 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003567/1.333, allocations: 1.577 MB / 0.8578 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/1.335, allocations: 240.6 kB / 0.8581 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/1.34, allocations: 3.286 MB / 0.8613 GB, free: 52 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008257/1.341, allocations: 1.096 MB / 0.8623 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008656/1.342, allocations: 186.5 kB / 0.8625 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/1.342, allocations: 0 / 0.8625 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of Templates: time 0.05742/1.4, allocations: 43.27 MB / 0.9048 GB, free: 3.875 MB / 0.6355 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