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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008065/0.0008066, allocations: 180.8 kB / 15.45 MB, free: 6.23 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.108/1.108, allocations: 205 MB / 221.2 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.0006489/0.0006489, allocations: 82.36 kB / 269.2 MB, free: 13.69 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.5988/0.5988, allocations: 90.51 MB / 407.6 MB, free: 15.41 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002625, allocations: 8 kB / 484.3 MB, free: 2.602 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09171/0.09199, allocations: 65.82 MB / 0.5372 GB, free: 0.625 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.59/0.682, allocations: 245.1 MB / 0.7766 GB, free: 2.012 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02031/0.7024, allocations: 24.31 MB / 0.8004 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.7035, allocations: 26.09 kB / 0.8004 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.7049, allocations: 0.6185 MB / 0.801 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.7084, allocations: 1.701 MB / 0.8026 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007008/0.7154, allocations: 3.101 MB / 0.8057 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001784/0.7172, allocations: 2.126 MB / 0.8078 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003984/0.7176, allocations: 326.1 kB / 0.8081 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.7194, allocations: 1.151 MB / 0.8092 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000637/0.72, allocations: 0.6722 MB / 0.8098 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.7202, allocations: 58.28 kB / 0.8099 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008572/0.7287, allocations: 6.72 MB / 0.8165 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.7289, allocations: 225.8 kB / 0.8167 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.7293, allocations: 0.6192 MB / 0.8173 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004111/0.7334, allocations: 3.699 MB / 0.8209 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7335, allocations: 2.562 kB / 0.8209 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7335, allocations: 2.531 kB / 0.8209 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.7335, allocations: 0 / 0.8209 GB, free: 0.8242 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.00297/0.7365, allocations: 1.985 MB / 0.8228 GB, free: 15.57 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.7365, allocations: 9.969 kB / 0.8228 GB, free: 15.57 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.7367, allocations: 175.7 kB / 0.823 GB, free: 15.5 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.7388, allocations: 345.7 kB / 0.8233 GB, free: 15.36 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008716/0.7397, allocations: 0.7027 MB / 0.824 GB, free: 14.93 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/0.7401, allocations: 357.6 kB / 0.8244 GB, free: 14.65 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.7403, allocations: 123.9 kB / 0.8245 GB, free: 14.64 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.7425, allocations: 1.409 MB / 0.8259 GB, free: 14.21 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.7426, allocations: 4.75 kB / 0.8259 GB, free: 14.21 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/0.7427, allocations: 46.22 kB / 0.8259 GB, free: 14.21 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.7427, allocations: 26.03 kB / 0.8259 GB, free: 14.21 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.7448, allocations: 1.176 MB / 0.8271 GB, free: 14 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005106/0.7499, allocations: 4.929 MB / 0.8319 GB, free: 10.75 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.7523, allocations: 1.367 MB / 0.8332 GB, free: 10.55 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.7534, allocations: 0.6825 MB / 0.8339 GB, free: 10.44 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002767/0.7562, allocations: 4.155 MB / 0.838 GB, free: 6.066 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.7562, allocations: 42.72 kB / 0.838 GB, free: 6.027 MB / 0.573 GB Notification: Performance of pre-optimization done (n=112): time 2.535e-06/0.7562, allocations: 0 / 0.838 GB, free: 6.027 MB / 0.573 GB Notification: Performance of matching and sorting (n=112): time 0.00791/0.7641, allocations: 3.499 MB / 0.8414 GB, free: 4.836 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.7642, allocations: 65.62 kB / 0.8415 GB, free: 4.77 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.7647, allocations: 0.5575 MB / 0.842 GB, free: 4.562 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.207e-05/0.7648, allocations: 51.78 kB / 0.8421 GB, free: 4.527 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.765, allocations: 475.1 kB / 0.8425 GB, free: 4.266 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.7653, allocations: 390.7 kB / 0.8429 GB, free: 3.98 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.7653, allocations: 18.19 kB / 0.8429 GB, free: 3.98 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.7654, allocations: 345.1 kB / 0.8432 GB, free: 3.664 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.7665, allocations: 0.534 MB / 0.8438 GB, free: 3.578 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.7675, allocations: 0.6275 MB / 0.8444 GB, free: 3.43 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.7697, allocations: 1.148 MB / 0.8455 GB, free: 3.25 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.7697, allocations: 0 / 0.8455 GB, free: 3.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004551/0.7742, allocations: 2.119 MB / 0.8476 GB, free: 2.719 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.7743, allocations: 6.688 kB / 0.8476 GB, free: 2.719 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7743, allocations: 0 / 0.8476 GB, free: 2.719 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.7754, allocations: 475.2 kB / 0.848 GB, free: 2.578 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.7766, allocations: 288.6 kB / 0.8483 GB, free: 2.395 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008008/0.7846, allocations: 7.228 MB / 0.8554 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/0.7854, allocations: 154.4 kB / 0.8555 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.7855, allocations: 82.47 kB / 0.8556 GB, free: 11.09 MB / 0.5886 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.0003876/0.7859, allocations: 240.6 kB / 0.8558 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.7861, allocations: 90.88 kB / 0.8559 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005791/0.7919, allocations: 2.494 MB / 0.8583 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.7919, allocations: 12 kB / 0.8584 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.7919, allocations: 8.109 kB / 0.8584 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.792, allocations: 3.984 kB / 0.8584 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006696/0.7987, allocations: 3.676 MB / 0.862 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.7987, allocations: 0 / 0.862 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.8, allocations: 300.5 kB / 0.8622 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.8011, allocations: 481.6 kB / 0.8627 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-05/0.8012, allocations: 57.33 kB / 0.8628 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008026/0.8092, allocations: 7.233 MB / 0.8698 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.8093, allocations: 0 / 0.8698 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005866/0.8151, allocations: 2.865 MB / 0.8726 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.8153, allocations: 177 kB / 0.8728 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.8155, allocations: 23.92 kB / 0.8728 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000729/0.8162, allocations: 112.1 kB / 0.8729 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.8164, allocations: 107.7 kB / 0.873 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.8165, allocations: 82.52 kB / 0.8731 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003916/0.8169, allocations: 393.7 kB / 0.8735 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.817, allocations: 0 / 0.8735 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002012/0.819, allocations: 0.8793 MB / 0.8743 GB, free: 10.42 MB / 0.6042 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.008487/0.8275, allocations: 4.583 MB / 0.8788 GB, free: 6.391 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004002/0.8315, allocations: 2.139 MB / 0.8809 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8315, allocations: 4 kB / 0.8809 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002671/0.8342, allocations: 1.57 MB / 0.8824 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.8352, allocations: 238.7 kB / 0.8827 GB, free: 2.371 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.8536, allocations: 11.21 MB / 0.8936 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.8542, allocations: 1.097 MB / 0.8947 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001394/0.8556, allocations: 308.8 kB / 0.895 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007841/0.8564, allocations: 0.5266 MB / 0.8955 GB, free: 5.055 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.8564, allocations: 0 / 0.8955 GB, free: 5.055 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05622/0.9127, allocations: 39.16 MB / 0.9337 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/0.9129, allocations: 293.8 kB / 0.934 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.068/3.981, allocations: 0 / 0.934 GB, free: 13.82 MB / 0.6667 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > 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