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.0008729/0.000873, allocations: 169.3 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.177/1.177, allocations: 205 MB / 221.9 MB, free: 9.152 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.0007228/0.0007228, allocations: 88.23 kB / 269.9 MB, free: 8.68 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.6105/0.6105, allocations: 90.52 MB / 408.3 MB, free: 3.938 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002902, allocations: 8 kB / 484.8 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2341, allocations: 65.81 MB / 0.5378 GB, free: 34.86 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.3909/0.6251, allocations: 207.6 MB / 0.7405 GB, free: 88 kB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0135/0.6386, allocations: 16.39 MB / 0.7565 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009645/0.6396, allocations: 21.56 kB / 0.7565 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.6407, allocations: 392.3 kB / 0.7569 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.6435, allocations: 1.084 MB / 0.7579 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004768/0.6483, allocations: 1.967 MB / 0.7598 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.6494, allocations: 1.281 MB / 0.7611 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.6496, allocations: 215 kB / 0.7613 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.651, allocations: 0.927 MB / 0.7622 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.6514, allocations: 408.2 kB / 0.7626 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.6515, allocations: 34.03 kB / 0.7626 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005879/0.6574, allocations: 4.263 MB / 0.7668 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.6575, allocations: 134.5 kB / 0.7669 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.6578, allocations: 381.1 kB / 0.7673 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.6597, allocations: 1.646 MB / 0.7689 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6598, allocations: 2.594 kB / 0.7689 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6598, allocations: 4 kB / 0.7689 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.6598, allocations: 0 / 0.7689 GB, free: 12.23 MB / 0.5105 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.002133/0.6619, allocations: 1.328 MB / 0.7702 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.662, allocations: 7.625 kB / 0.7702 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.6632, allocations: 206.1 kB / 0.7704 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.6638, allocations: 488 kB / 0.7709 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.664, allocations: 182.5 kB / 0.771 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.6641, allocations: 72.12 kB / 0.7711 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.6654, allocations: 0.728 MB / 0.7718 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.6654, allocations: 6.344 kB / 0.7718 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.6655, allocations: 28.34 kB / 0.7718 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.6655, allocations: 13.81 kB / 0.7719 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.6667, allocations: 0.6556 MB / 0.7725 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/0.6699, allocations: 2.802 MB / 0.7752 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.6713, allocations: 0.662 MB / 0.7759 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/0.672, allocations: 382.6 kB / 0.7762 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/0.6736, allocations: 2.158 MB / 0.7784 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.6736, allocations: 39.12 kB / 0.7784 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=63): time 2.164e-06/0.6736, allocations: 0 / 0.7784 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of matching and sorting (n=63): time 0.00475/0.6784, allocations: 1.978 MB / 0.7803 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.6784, allocations: 59.97 kB / 0.7804 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.6788, allocations: 394 kB / 0.7808 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.6788, allocations: 33.7 kB / 0.7808 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.679, allocations: 314.4 kB / 0.7811 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.6792, allocations: 223.2 kB / 0.7813 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.6792, allocations: 12 kB / 0.7813 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6793, allocations: 366.8 kB / 0.7817 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005916/0.6799, allocations: 293 kB / 0.7819 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.6805, allocations: 304.9 kB / 0.7822 GB, free: 492 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.6818, allocations: 0.6038 MB / 0.7828 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6818, allocations: 3.938 kB / 0.7828 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002565/0.6844, allocations: 1.137 MB / 0.7839 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6844, allocations: 8 kB / 0.7839 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.6844, allocations: 0 / 0.7839 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006886/0.6851, allocations: 258.4 kB / 0.7842 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/0.6858, allocations: 144.9 kB / 0.7843 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004875/0.6906, allocations: 4.906 MB / 0.7891 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.6911, allocations: 87.53 kB / 0.7892 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/0.6912, allocations: 39.98 kB / 0.7892 GB, free: 8.914 MB / 0.5261 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002352/0.6914, allocations: 179 kB / 0.7894 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.6915, allocations: 53.2 kB / 0.7895 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/0.6947, allocations: 1.342 MB / 0.7908 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.6947, allocations: 8 kB / 0.7908 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6947, allocations: 8 kB / 0.7908 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.6948, allocations: 3.984 kB / 0.7908 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.6986, allocations: 2.149 MB / 0.7929 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6986, allocations: 3.938 kB / 0.7929 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006818/0.6993, allocations: 145 kB / 0.793 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006251/0.6999, allocations: 264.9 kB / 0.7933 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.7, allocations: 35.97 kB / 0.7933 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004727/0.7047, allocations: 4.9 MB / 0.7981 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7047, allocations: 4 kB / 0.7981 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.7079, allocations: 1.605 MB / 0.7997 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.7081, allocations: 136.4 kB / 0.7998 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.7082, allocations: 16 kB / 0.7998 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.7086, allocations: 59.86 kB / 0.7999 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.7087, allocations: 64.8 kB / 0.7999 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-05/0.7088, allocations: 47.92 kB / 0.8 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002548/0.7091, allocations: 275.1 kB / 0.8002 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.51e-07/0.7091, allocations: 0 / 0.8002 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00125/0.7103, allocations: 0.5526 MB / 0.8008 GB, free: 12.62 MB / 0.5417 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001506/0.7119, allocations: 0.8489 MB / 0.8016 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.7141, allocations: 1.253 MB / 0.8028 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7141, allocations: 4 kB / 0.8028 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.7157, allocations: 0.9597 MB / 0.8038 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007412/0.7164, allocations: 151.8 kB / 0.8039 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.7191, allocations: 1.922 MB / 0.8058 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.7196, allocations: 0.9223 MB / 0.8067 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.7201, allocations: 107.4 kB / 0.8068 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/0.7201, allocations: 0 / 0.8068 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of Templates: time 0.02766/0.7478, allocations: 24.49 MB / 0.8307 GB, free: 14.08 MB / 0.573 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