Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.001686/0.001686, 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.002349/0.002349, 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.38/1.38, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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.9486/0.9486, allocations: 80.17 MB / 339.4 MB, free: 7.555 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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.542e-06, allocations: 0 / 0.4924 GB, free: 6.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.315e-05/4.969e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.9866/0.9866, allocations: 210 MB / 0.6974 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02635/1.013, allocations: 16.96 MB / 0.714 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004331/1.017, allocations: 93.84 kB / 0.7141 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003612/1.021, allocations: 0.7249 MB / 0.7148 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/1.032, allocations: 2.248 MB / 0.717 GB, free: 2.734 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.01051/1.043, allocations: 2.222 MB / 0.7191 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.006593/1.049, allocations: 2.537 MB / 0.7216 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/1.05, allocations: 255.8 kB / 0.7219 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007045/1.058, allocations: 1.922 MB / 0.7237 GB, free: 176 kB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/1.059, allocations: 0.6579 MB / 0.7244 GB, free: 8 kB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0003719/1.059, allocations: 131.8 kB / 0.7245 GB, free: 8 kB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/1.072, allocations: 3.937 MB / 0.7284 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000781/1.072, allocations: 349.6 kB / 0.7287 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002127/1.075, allocations: 0.5739 MB / 0.7292 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01556/1.09, allocations: 3.196 MB / 0.7324 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/1.09, allocations: 0 / 0.7324 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.216e-06/1.09, allocations: 0 / 0.7324 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001103/1.09, allocations: 0 / 0.7324 GB, free: 12.73 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.007598/1.098, allocations: 2.329 MB / 0.7346 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 8.759e-05/1.098, allocations: 7.625 kB / 0.7347 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002486/1.098, allocations: 188.9 kB / 0.7348 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/1.101, allocations: 447.4 kB / 0.7353 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00285/1.104, allocations: 1.041 MB / 0.7363 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005912/1.104, allocations: 0.5469 MB / 0.7368 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/1.104, allocations: 133.4 kB / 0.7369 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/1.107, allocations: 1.425 MB / 0.7383 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/1.107, allocations: 1.375 kB / 0.7383 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/1.107, allocations: 58.77 kB / 0.7384 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/1.108, allocations: 34.38 kB / 0.7384 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/1.11, allocations: 1.275 MB / 0.7397 GB, free: 7.887 MB / 0.5573 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.007481/1.118, allocations: 3.666 MB / 0.7432 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/1.12, allocations: 1.247 MB / 0.7445 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/1.121, allocations: 0.6273 MB / 0.7451 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003831/1.122, allocations: 151 kB / 0.7452 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/1.122, allocations: 47.56 kB / 0.7453 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=113): time 1.246e-05/1.122, allocations: 0 / 0.7453 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of matching and sorting (n=113): time 0.006234/1.128, allocations: 2.826 MB / 0.748 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/1.128, allocations: 68.41 kB / 0.7481 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/1.13, allocations: 0.9389 MB / 0.749 GB, free: 272 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.19e-05/1.13, allocations: 45.7 kB / 0.749 GB, free: 220 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006584/1.131, allocations: 0.6726 MB / 0.7497 GB, free: 15.59 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/1.131, allocations: 409.1 kB / 0.7501 GB, free: 15.19 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/1.131, allocations: 202.9 kB / 0.7503 GB, free: 14.99 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001878/1.131, allocations: 349.9 kB / 0.7506 GB, free: 14.64 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007777/1.132, allocations: 466.3 kB / 0.7511 GB, free: 14.18 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/1.133, allocations: 0.557 MB / 0.7516 GB, free: 13.61 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/1.135, allocations: 1.011 MB / 0.7526 GB, free: 12.59 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/1.135, allocations: 0 / 0.7526 GB, free: 12.59 MB / 0.573 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003485/1.138, allocations: 1.765 MB / 0.7543 GB, free: 10.82 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/1.138, allocations: 10.28 kB / 0.7543 GB, free: 10.81 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/1.138, allocations: 4 kB / 0.7543 GB, free: 10.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009326/1.139, allocations: 384 kB / 0.7547 GB, free: 10.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.14, allocations: 248.5 kB / 0.7549 GB, free: 10.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007915/1.148, allocations: 6.975 MB / 0.7617 GB, free: 2.797 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/1.15, allocations: 136.1 kB / 0.7619 GB, free: 2.664 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/1.15, allocations: 71.97 kB / 0.7619 GB, free: 2.594 MB / 0.573 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 (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,2,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009659/1.151, allocations: 260.9 kB / 0.7622 GB, free: 2.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/1.152, allocations: 151 kB / 0.7623 GB, free: 2.191 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004241/1.156, allocations: 2.538 MB / 0.7648 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/1.156, allocations: 18.53 kB / 0.7648 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.156, allocations: 4 kB / 0.7648 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/1.156, allocations: 11.91 kB / 0.7649 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005553/1.161, allocations: 3.048 MB / 0.7678 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/1.161, allocations: 4 kB / 0.7678 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/1.162, allocations: 233.9 kB / 0.7681 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008502/1.163, allocations: 391.1 kB / 0.7684 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/1.163, allocations: 51.95 kB / 0.7685 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007391/1.17, allocations: 6.859 MB / 0.7752 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.17, allocations: 3.984 kB / 0.7752 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005323/1.176, allocations: 2.499 MB / 0.7776 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009154/1.177, allocations: 242.6 kB / 0.7779 GB, free: 1.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/1.177, allocations: 31.94 kB / 0.7779 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/1.177, allocations: 70.56 kB / 0.778 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002991/1.178, allocations: 108.8 kB / 0.7781 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.178, allocations: 67.97 kB / 0.7781 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009932/1.179, allocations: 0.6479 MB / 0.7788 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/1.179, allocations: 0 / 0.7788 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002787/1.181, allocations: 0.6275 MB / 0.7794 GB, free: 276 kB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (2,2,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.007226/1.189, allocations: 3.67 MB / 0.7829 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003753/1.192, allocations: 1.776 MB / 0.7847 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.192, allocations: 128 / 0.7847 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.194, allocations: 1.214 MB / 0.7859 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/1.197, allocations: 468.3 kB / 0.7863 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/1.218, allocations: 11.05 MB / 0.7971 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006422/1.219, allocations: 0.6292 MB / 0.7977 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002051/1.221, allocations: 0.8564 MB / 0.7986 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009811/1.222, allocations: 0.6994 MB / 0.7992 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of SimCode: time 2.925e-06/1.222, allocations: 0 / 0.7992 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/1.348, allocations: 45.27 MB / 0.8435 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/12.39, allocations: 0 / 0.8435 GB, free: 14.96 MB / 0.6667 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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: 16.577397565357387]