Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.001473/0.001473, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001567/0.001567, allocations: 207.8 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.473/1.473, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.7597/0.7597, allocations: 100.3 MB / 412.7 MB, free: 3.672 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00251/0.00251, allocations: 90.28 kB / 0.5633 GB, free: 35.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1449, allocations: 74.46 MB / 0.636 GB, free: 7.656 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5737/0.7185, allocations: 203.1 MB / 0.8343 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0201/0.7386, allocations: 15.02 MB / 0.849 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.74, allocations: 61.16 kB / 0.849 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.742, allocations: 0.5168 MB / 0.8495 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004833/0.7469, allocations: 1.378 MB / 0.8509 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004245/0.7511, allocations: 1.417 MB / 0.8523 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002444/0.7536, allocations: 1.392 MB / 0.8536 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000466/0.754, allocations: 169.7 kB / 0.8538 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002947/0.757, allocations: 1.144 MB / 0.8549 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009819/0.758, allocations: 0.5165 MB / 0.8554 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.7582, allocations: 82.39 kB / 0.8555 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005813/0.764, allocations: 2.607 MB / 0.858 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.7643, allocations: 205.6 kB / 0.8582 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008155/0.7651, allocations: 0.5023 MB / 0.8587 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004382/0.7695, allocations: 1.909 MB / 0.8606 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.7695, allocations: 1.938 kB / 0.8606 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7695, allocations: 4 kB / 0.8606 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.856e-05/0.7696, allocations: 0 / 0.8606 GB, free: 11.04 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003646/0.7732, allocations: 1.512 MB / 0.8621 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.7733, allocations: 13.77 kB / 0.8621 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.7734, allocations: 120.6 kB / 0.8622 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.7751, allocations: 243.4 kB / 0.8624 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.7767, allocations: 0.7122 MB / 0.8631 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002932/0.777, allocations: 265.2 kB / 0.8634 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.7773, allocations: 76.23 kB / 0.8634 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.779, allocations: 0.8234 MB / 0.8642 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.779, allocations: 0 / 0.8642 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/0.7791, allocations: 33 kB / 0.8643 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.7791, allocations: 17.75 kB / 0.8643 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.7807, allocations: 0.643 MB / 0.8649 GB, free: 7.727 MB / 0.6075 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.004943/0.7856, allocations: 2.954 MB / 0.8678 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.787, allocations: 0.5587 MB / 0.8684 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.7877, allocations: 318.2 kB / 0.8687 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.788, allocations: 88.42 kB / 0.8687 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.788, allocations: 39.06 kB / 0.8688 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 1.833e-06/0.788, allocations: 0 / 0.8688 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.004784/0.7928, allocations: 1.447 MB / 0.8702 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.7929, allocations: 55.91 kB / 0.8702 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009813/0.7938, allocations: 0.6652 MB / 0.8709 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.7939, allocations: 33.7 kB / 0.8709 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.7943, allocations: 452.8 kB / 0.8714 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.7945, allocations: 218.1 kB / 0.8716 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.7947, allocations: 106.3 kB / 0.8717 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7948, allocations: 326 kB / 0.872 GB, free: 196 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.7955, allocations: 253.2 kB / 0.8722 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.7961, allocations: 265.7 kB / 0.8725 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.7973, allocations: 0.5284 MB / 0.873 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7973, allocations: 0 / 0.873 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002779/0.8001, allocations: 1.022 MB / 0.874 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.8001, allocations: 8 kB / 0.874 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.8002, allocations: 2.5 kB / 0.874 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008712/0.801, allocations: 226.4 kB / 0.8742 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007715/0.8018, allocations: 151.8 kB / 0.8744 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006373/0.8082, allocations: 4.79 MB / 0.879 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.8087, allocations: 67.69 kB / 0.8791 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.581e-05/0.8088, allocations: 35.98 kB / 0.8791 GB, free: 8.5 MB / 0.6231 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 (57): * Single equations (assignments): 54 * 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 {(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.0004676/0.8093, allocations: 201.7 kB / 0.8793 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.8094, allocations: 91.39 kB / 0.8794 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.813, allocations: 1.415 MB / 0.8808 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.813, allocations: 11.94 kB / 0.8808 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.813, allocations: 3.938 kB / 0.8808 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.813, allocations: 0 / 0.8808 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004611/0.8176, allocations: 1.988 MB / 0.8828 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.8176, allocations: 1.312 kB / 0.8828 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.8183, allocations: 140 kB / 0.8829 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007447/0.8191, allocations: 234.3 kB / 0.8831 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.8192, allocations: 31.92 kB / 0.8831 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005948/0.8251, allocations: 4.799 MB / 0.8878 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.8251, allocations: 3.938 kB / 0.8878 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003533/0.8286, allocations: 1.413 MB / 0.8892 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.829, allocations: 135.3 kB / 0.8893 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.8291, allocations: 23.86 kB / 0.8894 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/0.8297, allocations: 35.97 kB / 0.8894 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.8298, allocations: 60.41 kB / 0.8895 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.8298, allocations: 31.98 kB / 0.8895 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007483/0.8306, allocations: 486.9 kB / 0.8899 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8306, allocations: 3.938 kB / 0.89 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001309/0.8319, allocations: 379 kB / 0.8903 GB, free: 12.55 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (53): * Single equations (assignments): 50 * 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 {(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.004954/0.8369, allocations: 2.327 MB / 0.8926 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002701/0.8396, allocations: 1.042 MB / 0.8936 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.8396, allocations: 0 / 0.8936 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.8412, allocations: 0.7839 MB / 0.8944 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.8422, allocations: 214.3 kB / 0.8946 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/0.8563, allocations: 7.094 MB / 0.9015 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008845/0.8572, allocations: 0.9932 MB / 0.9025 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009627/0.8582, allocations: 447.2 kB / 0.9029 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008022/0.859, allocations: 415.2 kB / 0.9033 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.859, allocations: 3.938 kB / 0.9033 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07929/0.9383, allocations: 25.58 MB / 0.9283 GB, free: 5.602 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.46, allocations: 8 kB / 0.9283 GB, free: 5.594 MB / 0.67 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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: 18.03562807594426]