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.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.001223/0.001223, 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.0009/0.0009, 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 1.109/1.109, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.9634/0.9634, allocations: 80.17 MB / 339.4 MB, free: 7.527 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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.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 3.046e-06/3.046e-06, allocations: 0 / 0.4924 GB, free: 6.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.933e-05/5.238e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.969/0.9691, allocations: 191.3 MB / 0.6792 GB, free: 4.012 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01935/0.9884, allocations: 12.5 MB / 0.6914 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.9907, allocations: 74.34 kB / 0.6914 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002468/0.9931, allocations: 0.5617 MB / 0.692 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.007859/1.001, allocations: 1.915 MB / 0.6939 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.007204/1.008, allocations: 1.718 MB / 0.6955 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003711/1.012, allocations: 1.973 MB / 0.6975 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005421/1.012, allocations: 175.4 kB / 0.6976 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/1.017, allocations: 1.603 MB / 0.6992 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009843/1.018, allocations: 0.5027 MB / 0.6997 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/1.018, allocations: 92.09 kB / 0.6998 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008471/1.026, allocations: 3.323 MB / 0.703 GB, free: 2.398 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/1.026, allocations: 262.1 kB / 0.7033 GB, free: 2.336 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0006469/1.027, allocations: 432.5 kB / 0.7037 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005574/1.033, allocations: 2.52 MB / 0.7061 GB, free: 2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/1.033, allocations: 1 kB / 0.7061 GB, free: 2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.278e-06/1.033, allocations: 0 / 0.7061 GB, free: 2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.793e-05/1.033, allocations: 5.688 kB / 0.7061 GB, free: 2 MB / 0.5417 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.004046/1.037, allocations: 1.836 MB / 0.7079 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001241/1.037, allocations: 13.19 kB / 0.708 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003409/1.037, allocations: 141.6 kB / 0.7081 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/1.039, allocations: 308.5 kB / 0.7084 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/1.041, allocations: 0.8607 MB / 0.7092 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004922/1.041, allocations: 299.4 kB / 0.7095 GB, free: 376 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/1.041, allocations: 97.8 kB / 0.7096 GB, free: 372 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/1.043, allocations: 1.005 MB / 0.7106 GB, free: 240 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/1.043, allocations: 3.188 kB / 0.7106 GB, free: 240 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/1.043, allocations: 43.09 kB / 0.7106 GB, free: 236 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/1.043, allocations: 22.94 kB / 0.7106 GB, free: 236 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/1.045, allocations: 0.8375 MB / 0.7115 GB, free: 224 kB / 0.5417 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.00531/1.05, allocations: 2.868 MB / 0.7143 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/1.052, allocations: 0.8207 MB / 0.7151 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000673/1.053, allocations: 383.2 kB / 0.7154 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/1.053, allocations: 105.6 kB / 0.7155 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/1.053, allocations: 42.28 kB / 0.7156 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=80): time 3.316e-06/1.053, allocations: 1 kB / 0.7156 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=80): time 0.003997/1.057, allocations: 1.747 MB / 0.7173 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/1.057, allocations: 60.59 kB / 0.7173 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/1.058, allocations: 0.8353 MB / 0.7182 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/1.058, allocations: 44.42 kB / 0.7182 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005586/1.059, allocations: 0.5321 MB / 0.7187 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/1.059, allocations: 285.7 kB / 0.719 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/1.059, allocations: 152.9 kB / 0.7191 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.059, allocations: 336.4 kB / 0.7195 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/1.06, allocations: 294.1 kB / 0.7197 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/1.06, allocations: 401.4 kB / 0.7201 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.062, allocations: 0.6761 MB / 0.7208 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.062, allocations: 0 / 0.7208 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002406/1.064, allocations: 1.176 MB / 0.7219 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/1.064, allocations: 5.344 kB / 0.7219 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.064, allocations: 2.625 kB / 0.7219 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008705/1.065, allocations: 234.2 kB / 0.7222 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/1.065, allocations: 176 kB / 0.7223 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005515/1.071, allocations: 4.89 MB / 0.7271 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/1.072, allocations: 106.6 kB / 0.7272 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-05/1.072, allocations: 54.11 kB / 0.7273 GB, free: 6.523 MB / 0.5573 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.0004127/1.072, allocations: 223.8 kB / 0.7275 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/1.072, allocations: 124.6 kB / 0.7276 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/1.075, allocations: 1.736 MB / 0.7293 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/1.075, allocations: 8.562 kB / 0.7293 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.075, allocations: 6.875 kB / 0.7293 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/1.075, allocations: 7.969 kB / 0.7293 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/1.08, allocations: 2.132 MB / 0.7314 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/1.08, allocations: 1.281 kB / 0.7314 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/1.08, allocations: 166.8 kB / 0.7315 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006061/1.081, allocations: 240.3 kB / 0.7318 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.732e-05/1.081, allocations: 31.2 kB / 0.7318 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004901/1.086, allocations: 4.838 MB / 0.7365 GB, free: 15.42 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.086, allocations: 10.69 kB / 0.7365 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/1.089, allocations: 1.673 MB / 0.7382 GB, free: 14.49 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/1.089, allocations: 187.4 kB / 0.7384 GB, free: 14.35 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/1.089, allocations: 18.22 kB / 0.7384 GB, free: 14.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/1.089, allocations: 47.11 kB / 0.7384 GB, free: 14.31 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/1.09, allocations: 78.97 kB / 0.7385 GB, free: 14.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/1.09, allocations: 42.7 kB / 0.7385 GB, free: 14.26 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008732/1.09, allocations: 0.5772 MB / 0.7391 GB, free: 13.92 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/1.09, allocations: 0 / 0.7391 GB, free: 13.92 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001919/1.092, allocations: 0.491 MB / 0.7396 GB, free: 13.78 MB / 0.573 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%), (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.004711/1.097, allocations: 2.707 MB / 0.7422 GB, free: 11.12 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002323/1.099, allocations: 1.182 MB / 0.7434 GB, free: 9.91 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.099, allocations: 3.938 kB / 0.7434 GB, free: 9.906 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009583/1.1, allocations: 0.8122 MB / 0.7442 GB, free: 9.07 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/1.102, allocations: 385.7 kB / 0.7445 GB, free: 8.703 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/1.116, allocations: 8.541 MB / 0.7529 GB, free: 24 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/1.116, allocations: 0.492 MB / 0.7534 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001378/1.118, allocations: 0.65 MB / 0.754 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/1.118, allocations: 0.5315 MB / 0.7545 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of SimCode: time 1.994e-06/1.118, allocations: 4 kB / 0.7545 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1/1.218, allocations: 36 MB / 0.7897 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/12.17, allocations: 12 kB / 0.7897 GB, free: 10.75 MB / 0.6198 GB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 15.94003127515316]