Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7031/0.7031, allocations: 94.6 MB / 397.3 MB, free: 484 kB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 83.86 kB / 0.5416 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5331/0.5356, allocations: 71.85 MB / 0.6118 GB, free: 3.816 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.3011/0.8367, allocations: 215.1 MB / 0.8219 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02585/0.8625, allocations: 17.51 MB / 0.839 GB, free: 12.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.8643, allocations: 47.69 kB / 0.839 GB, free: 12.03 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.8664, allocations: 0.617 MB / 0.8396 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006406/0.8728, allocations: 1.774 MB / 0.8413 GB, free: 9.625 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005779/0.8786, allocations: 1.689 MB / 0.843 GB, free: 7.934 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003212/0.8818, allocations: 1.724 MB / 0.8447 GB, free: 6.195 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006138/0.8824, allocations: 198.5 kB / 0.8449 GB, free: 5.992 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.8857, allocations: 1.222 MB / 0.8461 GB, free: 4.766 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.8869, allocations: 0.6413 MB / 0.8467 GB, free: 4.121 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.8871, allocations: 99.94 kB / 0.8468 GB, free: 4.023 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008129/0.8952, allocations: 3.456 MB / 0.8502 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004967/0.8957, allocations: 250.9 kB / 0.8504 GB, free: 324 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000994/0.8967, allocations: 0.6176 MB / 0.851 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006821/0.9035, allocations: 2.386 MB / 0.8533 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.9035, allocations: 0 / 0.8533 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9035, allocations: 0 / 0.8533 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.127e-05/0.9036, allocations: 0 / 0.8533 GB, free: 13.3 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.005135/0.9087, allocations: 1.901 MB / 0.8552 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.9088, allocations: 19.91 kB / 0.8552 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.9089, allocations: 139.6 kB / 0.8553 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.911, allocations: 294.8 kB / 0.8556 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.9134, allocations: 0.9335 MB / 0.8565 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003141/0.9137, allocations: 200.7 kB / 0.8567 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.9139, allocations: 92 kB / 0.8568 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.9161, allocations: 1.013 MB / 0.8578 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.9161, allocations: 0 / 0.8578 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.9162, allocations: 36 kB / 0.8578 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.9162, allocations: 20 kB / 0.8579 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.918, allocations: 0.7963 MB / 0.8586 GB, free: 7.711 MB / 0.6856 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.006622/0.9247, allocations: 4.124 MB / 0.8627 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.9268, allocations: 0.8159 MB / 0.8635 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008702/0.9277, allocations: 399.2 kB / 0.8638 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.9289, allocations: 1.303 MB / 0.8651 GB, free: 432 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.9289, allocations: 43.22 kB / 0.8651 GB, free: 380 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 4.729e-06/0.9289, allocations: 0 / 0.8651 GB, free: 380 kB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.3358/1.265, allocations: 1.935 MB / 0.867 GB, free: 236.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/1.265, allocations: 60.62 kB / 0.8671 GB, free: 236.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009792/1.266, allocations: 0.7974 MB / 0.8679 GB, free: 236 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.529e-05/1.266, allocations: 40.27 kB / 0.8679 GB, free: 236 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/1.266, allocations: 0.5222 MB / 0.8684 GB, free: 235.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/1.266, allocations: 285.2 kB / 0.8687 GB, free: 235.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/1.267, allocations: 159.2 kB / 0.8688 GB, free: 235.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/1.267, allocations: 335 kB / 0.8692 GB, free: 235.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006534/1.267, allocations: 314.4 kB / 0.8695 GB, free: 235 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007131/1.268, allocations: 393.6 kB / 0.8698 GB, free: 234.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/1.269, allocations: 0.6918 MB / 0.8705 GB, free: 234.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.269, allocations: 2.625 kB / 0.8705 GB, free: 234.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003008/1.272, allocations: 1.24 MB / 0.8717 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.272, allocations: 4.797 kB / 0.8717 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.272, allocations: 6.688 kB / 0.8717 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008639/1.273, allocations: 248.7 kB / 0.872 GB, free: 234 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008892/1.274, allocations: 204.1 kB / 0.8722 GB, free: 234 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005097/1.279, allocations: 5.232 MB / 0.8773 GB, free: 229.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008359/1.28, allocations: 85.83 kB / 0.8774 GB, free: 229.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/1.28, allocations: 50.75 kB / 0.8774 GB, free: 229.4 MB / 0.6856 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 (82): * Single equations (assignments): 79 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003989/1.281, allocations: 233.6 kB / 0.8776 GB, free: 229.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/1.281, allocations: 113.3 kB / 0.8777 GB, free: 229.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/1.285, allocations: 1.823 MB / 0.8795 GB, free: 228.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.285, allocations: 8.062 kB / 0.8795 GB, free: 228.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/1.285, allocations: 2.312 kB / 0.8795 GB, free: 228.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.285, allocations: 5.297 kB / 0.8795 GB, free: 228.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005312/1.29, allocations: 2.479 MB / 0.882 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.29, allocations: 2.641 kB / 0.882 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.291, allocations: 196.8 kB / 0.8821 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008817/1.292, allocations: 251.9 kB / 0.8824 GB, free: 227.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/1.292, allocations: 32.89 kB / 0.8824 GB, free: 227.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005004/1.297, allocations: 5.231 MB / 0.8875 GB, free: 222.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.297, allocations: 5.031 kB / 0.8875 GB, free: 222.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/1.302, allocations: 1.718 MB / 0.8892 GB, free: 222.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/1.302, allocations: 260.6 kB / 0.8895 GB, free: 221.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/1.302, allocations: 23.58 kB / 0.8895 GB, free: 221.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/1.303, allocations: 48.84 kB / 0.8895 GB, free: 221.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/1.303, allocations: 72.8 kB / 0.8896 GB, free: 221.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-05/1.303, allocations: 50.08 kB / 0.8896 GB, free: 221.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007972/1.304, allocations: 0.5579 MB / 0.8902 GB, free: 221.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/1.304, allocations: 0 / 0.8902 GB, free: 221.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001588/1.305, allocations: 478.9 kB / 0.8906 GB, free: 221.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * 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%), (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.004775/1.31, allocations: 2.737 MB / 0.8933 GB, free: 220.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002648/1.313, allocations: 1.216 MB / 0.8945 GB, free: 219.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.313, allocations: 0 / 0.8945 GB, free: 219.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/1.314, allocations: 0.8773 MB / 0.8954 GB, free: 219 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/1.316, allocations: 258.7 kB / 0.8956 GB, free: 218.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/1.331, allocations: 8.637 MB / 0.904 GB, free: 214.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/1.332, allocations: 1.08 MB / 0.9051 GB, free: 213.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001567/1.334, allocations: 0.6394 MB / 0.9057 GB, free: 212.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/1.334, allocations: 0.5157 MB / 0.9062 GB, free: 212.5 MB / 0.6856 GB Notification: Performance of SimCode: time 2.084e-06/1.334, allocations: 0 / 0.9062 GB, free: 212.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.065/3.399, allocations: 30.84 MB / 0.9363 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/18.25, allocations: 2.812 kB / 0.9363 GB, free: 185.5 MB / 0.6856 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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: 22.255419769790024]