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.0009455/0.0009455, allocations: 169.2 kB / 16.1 MB, free: 5.691 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.172/1.172, allocations: 205 MB / 221.9 MB, free: 9.145 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.0007367/0.0007367, allocations: 94.19 kB / 269.9 MB, free: 8.668 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.6147/0.6147, allocations: 90.51 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 8 kB / 484.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.233, allocations: 65.82 MB / 0.5378 GB, free: 34.82 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4135/0.6465, allocations: 245.2 MB / 0.7772 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02243/0.669, allocations: 24.32 MB / 0.8009 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.6703, allocations: 27.81 kB / 0.8009 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.6718, allocations: 0.6179 MB / 0.8015 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003969/0.6758, allocations: 1.694 MB / 0.8032 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.007744/0.6836, allocations: 3.111 MB / 0.8062 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002051/0.6856, allocations: 2.123 MB / 0.8083 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004216/0.6861, allocations: 329.9 kB / 0.8086 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.6881, allocations: 1.15 MB / 0.8097 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006474/0.6888, allocations: 0.6736 MB / 0.8104 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.6889, allocations: 60 kB / 0.8105 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/0.6999, allocations: 6.708 MB / 0.817 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.7001, allocations: 231.6 kB / 0.8172 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005856/0.7007, allocations: 0.6109 MB / 0.8178 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00395/0.7046, allocations: 2.584 MB / 0.8204 GB, free: 88 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.7047, allocations: 3.984 kB / 0.8204 GB, free: 84 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7047, allocations: 0 / 0.8204 GB, free: 84 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.7047, allocations: 3.938 kB / 0.8204 GB, free: 80 kB / 0.5261 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.003728/0.7084, allocations: 1.986 MB / 0.8223 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.7085, allocations: 8.031 kB / 0.8223 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.7109, allocations: 350 kB / 0.8226 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.7119, allocations: 0.7074 MB / 0.8233 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003375/0.7123, allocations: 355.8 kB / 0.8237 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.7125, allocations: 123.9 kB / 0.8238 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.7149, allocations: 1.405 MB / 0.8252 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.715, allocations: 0 / 0.8252 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.7151, allocations: 43.94 kB / 0.8252 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.7151, allocations: 32 kB / 0.8252 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.7174, allocations: 1.176 MB / 0.8264 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/0.723, allocations: 4.917 MB / 0.8312 GB, free: 4.461 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.7257, allocations: 1.371 MB / 0.8325 GB, free: 3.086 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.7269, allocations: 0.6829 MB / 0.8332 GB, free: 2.398 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00303/0.7299, allocations: 4.152 MB / 0.8372 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.7299, allocations: 47.56 kB / 0.8373 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=112): time 2.695e-06/0.73, allocations: 0 / 0.8373 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=112): time 0.008571/0.7385, allocations: 3.499 MB / 0.8407 GB, free: 9.805 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.7386, allocations: 64.41 kB / 0.8408 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.7392, allocations: 0.5591 MB / 0.8413 GB, free: 9.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.7393, allocations: 41.7 kB / 0.8414 GB, free: 9.113 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.7396, allocations: 476.3 kB / 0.8418 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.7398, allocations: 385.6 kB / 0.8422 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.7399, allocations: 20 kB / 0.8422 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.74, allocations: 349.9 kB / 0.8425 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.7412, allocations: 0.5368 MB / 0.8431 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.7424, allocations: 0.6279 MB / 0.8437 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002275/0.7446, allocations: 1.148 MB / 0.8448 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7447, allocations: 0 / 0.8448 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004869/0.7495, allocations: 2.119 MB / 0.8469 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7496, allocations: 8 kB / 0.8469 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7496, allocations: 0 / 0.8469 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.7508, allocations: 471.2 kB / 0.8473 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.7521, allocations: 294.7 kB / 0.8476 GB, free: 2.652 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008295/0.7604, allocations: 7.223 MB / 0.8547 GB, free: 10.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00083/0.7612, allocations: 155.4 kB / 0.8548 GB, free: 10.74 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.7614, allocations: 83.95 kB / 0.8549 GB, free: 10.66 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003903/0.7618, allocations: 245.5 kB / 0.8551 GB, free: 10.41 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.7619, allocations: 90.88 kB / 0.8552 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00595/0.7679, allocations: 2.485 MB / 0.8576 GB, free: 7.82 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.7679, allocations: 12 kB / 0.8576 GB, free: 7.809 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7679, allocations: 4 kB / 0.8576 GB, free: 7.805 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.768, allocations: 3.984 kB / 0.8576 GB, free: 7.801 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006687/0.7746, allocations: 3.671 MB / 0.8612 GB, free: 4.078 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.7747, allocations: 11.92 kB / 0.8612 GB, free: 4.066 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.776, allocations: 295.7 kB / 0.8615 GB, free: 3.777 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.7772, allocations: 478.9 kB / 0.862 GB, free: 3.297 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.303e-05/0.7773, allocations: 47.97 kB / 0.862 GB, free: 3.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008206/0.7855, allocations: 7.236 MB / 0.8691 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7855, allocations: 8 kB / 0.8691 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00605/0.7916, allocations: 2.867 MB / 0.8719 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.7918, allocations: 175.7 kB / 0.8721 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.7919, allocations: 27.94 kB / 0.8721 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007926/0.7927, allocations: 115.8 kB / 0.8722 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.7929, allocations: 100.9 kB / 0.8723 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.793, allocations: 79.97 kB / 0.8724 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003978/0.7934, allocations: 395.1 kB / 0.8728 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7934, allocations: 0 / 0.8728 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001778/0.7952, allocations: 0.8778 MB / 0.8736 GB, free: 6.809 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002021/0.7972, allocations: 1.258 MB / 0.8748 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00379/0.801, allocations: 2.146 MB / 0.8769 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8011, allocations: 4 kB / 0.8769 GB, free: 3.43 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002759/0.8038, allocations: 1.577 MB / 0.8785 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.805, allocations: 249 kB / 0.8787 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.8094, allocations: 3.208 MB / 0.8819 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.8099, allocations: 1.097 MB / 0.8829 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006343/0.8106, allocations: 187.3 kB / 0.8831 GB, free: 13 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.8106, allocations: 3.938 kB / 0.8831 GB, free: 13 MB / 0.6042 GB Notification: Performance of Templates: time 0.03975/0.8503, allocations: 43.27 MB / 0.9254 GB, free: 1.816 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