Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.CrossFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",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.0009595/0.0009595, allocations: 176.6 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.109/1.109, allocations: 205 MB / 221.2 MB, free: 13.66 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.0006529/0.000653, allocations: 94.22 kB / 269.2 MB, free: 13.55 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.6001/0.6001, 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.0002684/0.0002684, allocations: 8.281 kB / 484.3 MB, free: 2.594 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/0.08855, allocations: 65.82 MB / 0.5372 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.58/0.6686, allocations: 221.9 MB / 0.7539 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.6829, allocations: 18.91 MB / 0.7724 GB, free: 1.949 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007547/0.6837, allocations: 25.03 kB / 0.7724 GB, free: 1.949 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.6848, allocations: 481.8 kB / 0.7729 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.6878, allocations: 1.452 MB / 0.7743 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005463/0.6933, allocations: 2.41 MB / 0.7766 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00162/0.6949, allocations: 1.665 MB / 0.7783 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.6952, allocations: 244.2 kB / 0.7785 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.6969, allocations: 1.004 MB / 0.7795 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005267/0.6974, allocations: 0.5149 MB / 0.78 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.282e-05/0.6975, allocations: 40.62 kB / 0.78 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008837/0.7064, allocations: 5.458 MB / 0.7853 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.7066, allocations: 166.5 kB / 0.7855 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005099/0.7071, allocations: 477.4 kB / 0.786 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004159/0.7112, allocations: 2.952 MB / 0.7888 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7113, allocations: 3.094 kB / 0.7888 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7113, allocations: 0.7812 kB / 0.7888 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.7113, allocations: 0 / 0.7888 GB, free: 1.535 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002636/0.7139, allocations: 1.585 MB / 0.7904 GB, free: 16.65 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.714, allocations: 8.469 kB / 0.7904 GB, free: 16.65 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.7141, allocations: 134.8 kB / 0.7905 GB, free: 16.61 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.7156, allocations: 237.6 kB / 0.7908 GB, free: 16.55 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/0.7163, allocations: 0.5826 MB / 0.7913 GB, free: 16.26 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.7166, allocations: 204.5 kB / 0.7915 GB, free: 16.12 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.7167, allocations: 81.61 kB / 0.7916 GB, free: 16.12 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.7184, allocations: 0.9902 MB / 0.7926 GB, free: 16.02 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.7184, allocations: 4 kB / 0.7926 GB, free: 16.02 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.03e-05/0.7185, allocations: 33.09 kB / 0.7926 GB, free: 16.02 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.7185, allocations: 21.8 kB / 0.7926 GB, free: 16.02 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.72, allocations: 0.7786 MB / 0.7934 GB, free: 16 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.7239, allocations: 3.684 MB / 0.797 GB, free: 14.02 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.7255, allocations: 0.9329 MB / 0.7979 GB, free: 13.98 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006583/0.7262, allocations: 454.8 kB / 0.7983 GB, free: 13.97 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002218/0.7284, allocations: 3.111 MB / 0.8014 GB, free: 10.87 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.7285, allocations: 41.5 kB / 0.8014 GB, free: 10.83 MB / 0.573 GB Notification: Performance of pre-optimization done (n=83): time 2.375e-06/0.7285, allocations: 0 / 0.8014 GB, free: 10.83 MB / 0.573 GB Notification: Performance of matching and sorting (n=83): time 0.004732/0.7332, allocations: 2.201 MB / 0.8036 GB, free: 10.37 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.7332, allocations: 66.66 kB / 0.8036 GB, free: 10.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.7336, allocations: 0.491 MB / 0.8041 GB, free: 10.19 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.7337, allocations: 38.58 kB / 0.8041 GB, free: 10.16 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.7339, allocations: 383.6 kB / 0.8045 GB, free: 9.977 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.7341, allocations: 287.8 kB / 0.8048 GB, free: 9.793 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.7341, allocations: 14.44 kB / 0.8048 GB, free: 9.793 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.7343, allocations: 381.5 kB / 0.8051 GB, free: 9.477 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/0.7349, allocations: 353.8 kB / 0.8055 GB, free: 9.469 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.7355, allocations: 424 kB / 0.8059 GB, free: 9.418 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.7368, allocations: 0.7598 MB / 0.8066 GB, free: 9.348 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7368, allocations: 1.75 kB / 0.8066 GB, free: 9.348 MB / 0.573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002609/0.7394, allocations: 1.346 MB / 0.8079 GB, free: 9.191 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.7394, allocations: 5.25 kB / 0.808 GB, free: 9.191 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7394, allocations: 4.172 kB / 0.808 GB, free: 9.191 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007213/0.7402, allocations: 276.7 kB / 0.8082 GB, free: 9.156 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/0.7409, allocations: 201.4 kB / 0.8084 GB, free: 9.152 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/0.7457, allocations: 5.023 MB / 0.8133 GB, free: 5.324 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.7462, allocations: 103.9 kB / 0.8134 GB, free: 5.289 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.7463, allocations: 57.05 kB / 0.8135 GB, free: 5.289 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 (80): * Single equations (assignments): 75 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002631/0.7466, allocations: 205.6 kB / 0.8137 GB, free: 5.172 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.7467, allocations: 74.56 kB / 0.8137 GB, free: 5.133 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.7502, allocations: 1.64 MB / 0.8153 GB, free: 4.953 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.7502, allocations: 12.91 kB / 0.8154 GB, free: 4.949 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.7503, allocations: 2.812 kB / 0.8154 GB, free: 4.949 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.7503, allocations: 3.703 kB / 0.8154 GB, free: 4.949 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.7544, allocations: 2.547 MB / 0.8178 GB, free: 4.117 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.7544, allocations: 0 / 0.8178 GB, free: 4.117 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008181/0.7552, allocations: 207 kB / 0.818 GB, free: 4.086 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006425/0.7559, allocations: 285.5 kB / 0.8183 GB, free: 3.988 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.182e-05/0.756, allocations: 40.16 kB / 0.8184 GB, free: 3.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004879/0.7609, allocations: 5.031 MB / 0.8233 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7609, allocations: 0 / 0.8233 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/0.7643, allocations: 1.894 MB / 0.8251 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.7646, allocations: 249.9 kB / 0.8254 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-05/0.7647, allocations: 26 kB / 0.8254 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.7651, allocations: 60.58 kB / 0.8254 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.7653, allocations: 80.16 kB / 0.8255 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.478e-05/0.7654, allocations: 64.81 kB / 0.8256 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003111/0.7657, allocations: 344.5 kB / 0.8259 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7657, allocations: 1.859 kB / 0.8259 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001569/0.7673, allocations: 0.6929 MB / 0.8266 GB, free: 14.85 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.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 (83): * Single equations (assignments): 78 * 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 {(1,4,100.0%), (1,4,100.0%), (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.005151/0.7724, allocations: 3.379 MB / 0.8299 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002229/0.7747, allocations: 1.444 MB / 0.8313 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7747, allocations: 3 kB / 0.8313 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.7762, allocations: 1.066 MB / 0.8323 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008672/0.7771, allocations: 200.3 kB / 0.8325 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.7885, allocations: 8.278 MB / 0.8406 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.789, allocations: 1.005 MB / 0.8416 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009707/0.79, allocations: 240.2 kB / 0.8418 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/0.7905, allocations: 399.1 kB / 0.8422 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of SimCode: time 4.1e-07/0.7906, allocations: 1.75 kB / 0.8422 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04502/0.8356, allocations: 31.15 MB / 0.8726 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.8358, allocations: 282.5 kB / 0.8729 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.183/4.019, allocations: 0 / 0.8729 GB, free: 7.074 MB / 0.6198 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches