Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009405/0.0009405, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8676/0.8676, allocations: 177.2 MB / 202.8 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6342/0.6342, allocations: 116 MB / 375.2 MB, free: 4.152 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5532 GB, free: 13.37 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.315e-05, allocations: 6.281 kB / 0.5533 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4063/0.4063, allocations: 191.3 MB / 0.7401 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.009962/0.4163, allocations: 12.52 MB / 0.7523 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.4174, allocations: 83.75 kB / 0.7524 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.4188, allocations: 0.5759 MB / 0.7529 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.4231, allocations: 1.923 MB / 0.7548 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.4266, allocations: 1.722 MB / 0.7565 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002278/0.4289, allocations: 1.978 MB / 0.7584 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.4293, allocations: 191.6 kB / 0.7586 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.4321, allocations: 1.6 MB / 0.7602 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007334/0.4328, allocations: 0.5051 MB / 0.7607 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.433, allocations: 93 kB / 0.7608 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004721/0.4377, allocations: 3.329 MB / 0.764 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.438, allocations: 258.8 kB / 0.7643 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006351/0.4387, allocations: 438.8 kB / 0.7647 GB, free: 5.414 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004656/0.4433, allocations: 2.547 MB / 0.7672 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.4433, allocations: 0 / 0.7672 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4433, allocations: 0 / 0.7672 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.4433, allocations: 0 / 0.7672 GB, free: 2.855 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00273/0.4461, allocations: 1.865 MB / 0.769 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4461, allocations: 8.031 kB / 0.769 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.4462, allocations: 139.7 kB / 0.7691 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.4475, allocations: 314.8 kB / 0.7694 GB, free: 500 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.4488, allocations: 0.8869 MB / 0.7703 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.449, allocations: 299.6 kB / 0.7706 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.4491, allocations: 92 kB / 0.7707 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.4503, allocations: 1.01 MB / 0.7716 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4504, allocations: 0 / 0.7716 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.4504, allocations: 40 kB / 0.7717 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4504, allocations: 20 kB / 0.7717 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.4515, allocations: 0.8353 MB / 0.7725 GB, free: 13.18 MB / 0.6198 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.003221/0.4547, allocations: 2.858 MB / 0.7753 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.4559, allocations: 0.8121 MB / 0.7761 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.4565, allocations: 379.2 kB / 0.7765 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/0.4567, allocations: 100.6 kB / 0.7766 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.4567, allocations: 43.16 kB / 0.7766 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 2.835e-06/0.4567, allocations: 0 / 0.7766 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.002998/0.4597, allocations: 1.725 MB / 0.7783 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.4598, allocations: 64.06 kB / 0.7783 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007314/0.4605, allocations: 0.8537 MB / 0.7792 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.4606, allocations: 37.7 kB / 0.7792 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.4608, allocations: 0.5326 MB / 0.7797 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004499/0.4613, allocations: 297.4 kB / 0.78 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.4614, allocations: 150.6 kB / 0.7802 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.4615, allocations: 338 kB / 0.7805 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.4619, allocations: 289.8 kB / 0.7808 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.4623, allocations: 380.8 kB / 0.7811 GB, free: 4.172 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008248/0.4632, allocations: 0.6839 MB / 0.7818 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4632, allocations: 0 / 0.7818 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001641/0.4648, allocations: 1.17 MB / 0.7829 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4648, allocations: 4 kB / 0.7829 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4648, allocations: 7.938 kB / 0.7829 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005369/0.4654, allocations: 231.4 kB / 0.7832 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.4658, allocations: 179.7 kB / 0.7833 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/0.4695, allocations: 4.893 MB / 0.7881 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.47, allocations: 91.45 kB / 0.7882 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/0.47, allocations: 47.98 kB / 0.7883 GB, free: 12.49 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,2,100.0%), (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.0003486/0.4704, allocations: 245.6 kB / 0.7885 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.4706, allocations: 123.2 kB / 0.7886 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.4728, allocations: 1.735 MB / 0.7903 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.4728, allocations: 8 kB / 0.7903 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4728, allocations: 3.984 kB / 0.7903 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.4728, allocations: 7.984 kB / 0.7903 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.4754, allocations: 2.14 MB / 0.7924 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4754, allocations: 8.156 kB / 0.7924 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.4758, allocations: 167.8 kB / 0.7926 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/0.4762, allocations: 232.6 kB / 0.7928 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.4763, allocations: 35.98 kB / 0.7928 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003306/0.4796, allocations: 4.848 MB / 0.7976 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4796, allocations: 0 / 0.7976 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.4817, allocations: 1.671 MB / 0.7992 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.482, allocations: 191 kB / 0.7994 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.082e-05/0.4821, allocations: 19.98 kB / 0.7994 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.4824, allocations: 40.02 kB / 0.7994 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4825, allocations: 80.8 kB / 0.7995 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.4826, allocations: 51.97 kB / 0.7996 GB, free: 424 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005355/0.4831, allocations: 0.5896 MB / 0.8001 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4831, allocations: 7.938 kB / 0.8001 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001323/0.4844, allocations: 498.9 kB / 0.8006 GB, free: 15.32 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003026/0.4875, allocations: 2.707 MB / 0.8033 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.489, allocations: 1.18 MB / 0.8044 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.489, allocations: 0 / 0.8044 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.4898, allocations: 0.8182 MB / 0.8052 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.491, allocations: 403.8 kB / 0.8056 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009688/0.5007, allocations: 8.607 MB / 0.814 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.501, allocations: 0.5044 MB / 0.8145 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001028/0.5021, allocations: 0.6309 MB / 0.8151 GB, free: 120 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005126/0.5026, allocations: 0.5392 MB / 0.8156 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of SimCode: time 9.41e-07/0.5026, allocations: 3.938 kB / 0.8156 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0487/0.5513, allocations: 36.5 MB / 0.8513 GB, free: 11.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/8.174, allocations: 7.984 kB / 0.8513 GB, free: 11.54 MB / 0.698 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.702083834446967]