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.0008017/0.0008017, allocations: 80.44 kB / 19.17 MB, free: 0.7305 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.0008534/0.0008534, allocations: 165.2 kB / 22.46 MB, free: 2.098 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.8675/0.8675, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6126/0.6126, allocations: 116 MB / 375.2 MB, free: 4.176 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_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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5532 GB, free: 13.35 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.239e-05, allocations: 6.219 kB / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.399/0.399, allocations: 179.9 MB / 0.7289 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.009165/0.4082, allocations: 10.14 MB / 0.7388 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009651/0.4092, allocations: 65.75 kB / 0.7389 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.4103, allocations: 483.1 kB / 0.7394 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.00303/0.4133, allocations: 1.469 MB / 0.7408 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.416, allocations: 1.433 MB / 0.7422 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.4176, allocations: 1.592 MB / 0.7438 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.4179, allocations: 166.2 kB / 0.7439 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.4201, allocations: 1.432 MB / 0.7453 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004215/0.4205, allocations: 400 kB / 0.7457 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.951e-05/0.4206, allocations: 77.41 kB / 0.7458 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00385/0.4245, allocations: 2.436 MB / 0.7481 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.4247, allocations: 214.5 kB / 0.7483 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.425, allocations: 357.8 kB / 0.7487 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.4287, allocations: 2.028 MB / 0.7507 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4287, allocations: 0 / 0.7507 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4287, allocations: 0 / 0.7507 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.4288, allocations: 0 / 0.7507 GB, free: 1.379 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.002416/0.4312, allocations: 1.541 MB / 0.7522 GB, free: 232 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.4312, allocations: 10.62 kB / 0.7522 GB, free: 232 kB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.4313, allocations: 121.9 kB / 0.7523 GB, free: 124 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009903/0.4323, allocations: 266 kB / 0.7526 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.4335, allocations: 0.7449 MB / 0.7533 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.4336, allocations: 295.3 kB / 0.7536 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/0.4337, allocations: 72.31 kB / 0.7536 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.4348, allocations: 0.8083 MB / 0.7544 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.4348, allocations: 3.938 kB / 0.7544 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.4348, allocations: 30.25 kB / 0.7545 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.4348, allocations: 18.28 kB / 0.7545 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.4358, allocations: 0.687 MB / 0.7551 GB, free: 14.26 MB / 0.6042 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.002567/0.4383, allocations: 2.146 MB / 0.7572 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.4392, allocations: 0.5497 MB / 0.7578 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006064/0.4398, allocations: 294.2 kB / 0.7581 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.44, allocations: 84.58 kB / 0.7581 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.44, allocations: 39.06 kB / 0.7582 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.375e-06/0.44, allocations: 0 / 0.7582 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.002652/0.4426, allocations: 1.478 MB / 0.7596 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.4427, allocations: 55.91 kB / 0.7597 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006509/0.4433, allocations: 0.7202 MB / 0.7604 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.4434, allocations: 37.7 kB / 0.7604 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.4436, allocations: 460.7 kB / 0.7608 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.4437, allocations: 214.1 kB / 0.7611 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.4439, allocations: 110.3 kB / 0.7612 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.4439, allocations: 330 kB / 0.7615 GB, free: 8.336 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.4443, allocations: 225.2 kB / 0.7617 GB, free: 8.117 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.4446, allocations: 312.8 kB / 0.762 GB, free: 7.789 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.4453, allocations: 0.531 MB / 0.7625 GB, free: 7.234 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4453, allocations: 0.625 kB / 0.7625 GB, free: 7.234 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00136/0.4466, allocations: 0.948 MB / 0.7634 GB, free: 6.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4467, allocations: 7.938 kB / 0.7634 GB, free: 6.262 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.4467, allocations: 7.938 kB / 0.7634 GB, free: 6.254 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004763/0.4471, allocations: 218.5 kB / 0.7637 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.4474, allocations: 127.8 kB / 0.7638 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.451, allocations: 4.753 MB / 0.7684 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.4514, allocations: 79.69 kB / 0.7685 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.144e-05/0.4515, allocations: 35.98 kB / 0.7685 GB, free: 0.6953 MB / 0.6042 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 (59): * Single equations (assignments): 56 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002844/0.4518, allocations: 201.8 kB / 0.7687 GB, free: 500 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.4519, allocations: 95.33 kB / 0.7688 GB, free: 404 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.4536, allocations: 1.305 MB / 0.7701 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4537, allocations: 15.92 kB / 0.7701 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4537, allocations: 0.5 kB / 0.7701 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4537, allocations: 3.984 kB / 0.7701 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.456, allocations: 1.738 MB / 0.7718 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.456, allocations: 9.469 kB / 0.7718 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/0.4565, allocations: 107.9 kB / 0.7719 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/0.4569, allocations: 214.3 kB / 0.7721 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.4569, allocations: 23.98 kB / 0.7721 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00311/0.4601, allocations: 4.713 MB / 0.7767 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4601, allocations: 0 / 0.7767 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.4619, allocations: 1.333 MB / 0.778 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.4622, allocations: 143.2 kB / 0.7782 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.4623, allocations: 16 kB / 0.7782 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.4625, allocations: 35.97 kB / 0.7782 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4626, allocations: 60.28 kB / 0.7783 GB, free: 6.207 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.4627, allocations: 36.8 kB / 0.7783 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006988/0.4634, allocations: 0.4951 MB / 0.7788 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4634, allocations: 4 kB / 0.7788 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009218/0.4643, allocations: 375.2 kB / 0.7792 GB, free: 5.312 MB / 0.6198 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 (51): * Single equations (assignments): 48 * 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,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.002539/0.4668, allocations: 2.249 MB / 0.7814 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.4682, allocations: 1.002 MB / 0.7823 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4682, allocations: 4.125 kB / 0.7823 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006981/0.4689, allocations: 0.7098 MB / 0.783 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009743/0.4699, allocations: 325.1 kB / 0.7834 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008782/0.4787, allocations: 7.082 MB / 0.7903 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.479, allocations: 426.2 kB / 0.7907 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007395/0.4798, allocations: 443.4 kB / 0.7911 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/0.4802, allocations: 424.3 kB / 0.7915 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/0.4802, allocations: 0 / 0.7915 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.5256, allocations: 29.23 MB / 0.82 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/8.062, allocations: 11.05 kB / 0.8201 GB, free: 11.55 MB / 0.6667 GB " [Timeout remaining time 652] (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/jenkins/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: 10.55061431787908]