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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",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.0007919/0.0007919, allocations: 182 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.09/1.09, allocations: 205 MB / 221.2 MB, free: 13.82 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.0006498/0.0006498, allocations: 90.3 kB / 269.2 MB, free: 13.7 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.5851/0.5851, allocations: 90.51 MB / 407.6 MB, free: 15.39 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002667, allocations: 12 kB / 484.3 MB, free: 2.598 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09504, allocations: 65.81 MB / 0.5372 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.335/0.4301, allocations: 207.6 MB / 0.7399 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.231/0.6612, allocations: 16.39 MB / 0.7559 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006273/0.6619, allocations: 17.38 kB / 0.7559 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008645/0.6627, allocations: 391.5 kB / 0.7563 GB, free: 2.035 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.6648, allocations: 1.089 MB / 0.7574 GB, free: 2.027 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.6686, allocations: 1.966 MB / 0.7593 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007681/0.6694, allocations: 1.283 MB / 0.7606 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.6697, allocations: 213.3 kB / 0.7608 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.6709, allocations: 0.9197 MB / 0.7617 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.6712, allocations: 407.3 kB / 0.762 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.6713, allocations: 34.03 kB / 0.7621 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005665/0.6769, allocations: 4.265 MB / 0.7662 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.6771, allocations: 135.8 kB / 0.7664 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.6774, allocations: 382.5 kB / 0.7667 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003777/0.6812, allocations: 2.37 MB / 0.769 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6812, allocations: 0 / 0.769 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6812, allocations: 0 / 0.769 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.6812, allocations: 0 / 0.769 GB, free: 1.844 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002562/0.6838, allocations: 1.32 MB / 0.7703 GB, free: 17.07 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.6839, allocations: 11.38 kB / 0.7703 GB, free: 17.07 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.684, allocations: 113 kB / 0.7705 GB, free: 17.04 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.6853, allocations: 202.9 kB / 0.7706 GB, free: 16.99 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.6859, allocations: 486.1 kB / 0.7711 GB, free: 16.72 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.6861, allocations: 185.8 kB / 0.7713 GB, free: 16.59 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.6862, allocations: 66.64 kB / 0.7714 GB, free: 16.59 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.6876, allocations: 0.7324 MB / 0.7721 GB, free: 16.54 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.6877, allocations: 1.625 kB / 0.7721 GB, free: 16.54 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.6877, allocations: 28.28 kB / 0.7721 GB, free: 16.54 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.6878, allocations: 16.89 kB / 0.7721 GB, free: 16.54 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.6891, allocations: 0.6577 MB / 0.7728 GB, free: 16.53 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.6922, allocations: 2.804 MB / 0.7755 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.6934, allocations: 0.6579 MB / 0.7761 GB, free: 15.07 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/0.6941, allocations: 381 kB / 0.7765 GB, free: 15.06 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/0.6957, allocations: 2.152 MB / 0.7786 GB, free: 12.9 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.6957, allocations: 45.77 kB / 0.7786 GB, free: 12.86 MB / 0.573 GB Notification: Performance of pre-optimization done (n=63): time 3.096e-06/0.6958, allocations: 5.312 kB / 0.7786 GB, free: 12.85 MB / 0.573 GB Notification: Performance of matching and sorting (n=63): time 0.004522/0.7003, allocations: 1.973 MB / 0.7806 GB, free: 12.42 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.7003, allocations: 61.88 kB / 0.7806 GB, free: 12.36 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.7007, allocations: 385.5 kB / 0.781 GB, free: 12.25 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.7007, allocations: 35.98 kB / 0.781 GB, free: 12.21 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.7009, allocations: 314.9 kB / 0.7813 GB, free: 12.05 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.701, allocations: 213.7 kB / 0.7815 GB, free: 11.92 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.7011, allocations: 13.92 kB / 0.7816 GB, free: 11.92 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7012, allocations: 373.3 kB / 0.7819 GB, free: 11.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/0.7018, allocations: 294.2 kB / 0.7822 GB, free: 11.59 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.7024, allocations: 298.9 kB / 0.7825 GB, free: 11.58 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.7036, allocations: 0.6034 MB / 0.7831 GB, free: 11.55 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7036, allocations: 0 / 0.7831 GB, free: 11.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002537/0.7062, allocations: 1.141 MB / 0.7842 GB, free: 11.42 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.7062, allocations: 6.375 kB / 0.7842 GB, free: 11.42 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7062, allocations: 0 / 0.7842 GB, free: 11.42 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006784/0.7069, allocations: 265.8 kB / 0.7844 GB, free: 11.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.7075, allocations: 139.5 kB / 0.7846 GB, free: 11.38 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004802/0.7123, allocations: 4.901 MB / 0.7894 GB, free: 7.559 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.7128, allocations: 92.23 kB / 0.7894 GB, free: 7.531 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.7129, allocations: 42.39 kB / 0.7895 GB, free: 7.531 MB / 0.573 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.000244/0.7131, allocations: 179.2 kB / 0.7897 GB, free: 7.418 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.7132, allocations: 56.78 kB / 0.7897 GB, free: 7.387 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/0.7164, allocations: 1.344 MB / 0.791 GB, free: 7.242 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.7164, allocations: 6.531 kB / 0.791 GB, free: 7.242 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7165, allocations: 4.094 kB / 0.791 GB, free: 7.242 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.7165, allocations: 3.797 kB / 0.791 GB, free: 7.242 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003602/0.7201, allocations: 2.143 MB / 0.7931 GB, free: 6.832 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.7201, allocations: 0 / 0.7931 GB, free: 6.832 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.7207, allocations: 154.6 kB / 0.7933 GB, free: 6.828 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005861/0.7213, allocations: 263 kB / 0.7935 GB, free: 6.793 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.7214, allocations: 31.02 kB / 0.7936 GB, free: 6.793 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004499/0.7259, allocations: 4.906 MB / 0.7983 GB, free: 2.969 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7259, allocations: 0 / 0.7983 GB, free: 2.969 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.7289, allocations: 1.603 MB / 0.7999 GB, free: 2.711 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.485e-05/0.729, allocations: 138.1 kB / 0.8 GB, free: 2.578 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.729, allocations: 13.94 kB / 0.8001 GB, free: 2.578 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.7295, allocations: 65.09 kB / 0.8001 GB, free: 2.566 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.7296, allocations: 63.94 kB / 0.8002 GB, free: 2.562 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.7296, allocations: 44.56 kB / 0.8002 GB, free: 2.562 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002149/0.7299, allocations: 277.4 kB / 0.8005 GB, free: 2.48 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7299, allocations: 4.281 kB / 0.8005 GB, free: 2.48 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001387/0.7313, allocations: 0.5445 MB / 0.801 GB, free: 2.395 MB / 0.573 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.004517/0.7358, allocations: 2.901 MB / 0.8039 GB, free: 1.469 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.7378, allocations: 1.259 MB / 0.8051 GB, free: 1.043 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7378, allocations: 0 / 0.8051 GB, free: 1.043 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.7392, allocations: 0.9629 MB / 0.806 GB, free: 0.6133 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/0.7399, allocations: 146 kB / 0.8062 GB, free: 0.6016 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009628/0.7495, allocations: 6.728 MB / 0.8127 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.7499, allocations: 0.928 MB / 0.8136 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007052/0.7506, allocations: 170.4 kB / 0.8138 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.751, allocations: 304.9 kB / 0.8141 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of SimCode: time 3.91e-07/0.751, allocations: 1.859 kB / 0.8141 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3759/1.127, allocations: 25.2 MB / 0.8387 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/1.127, allocations: 313.3 kB / 0.839 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.764, allocations: 0 / 0.839 GB, free: 11.49 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > 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