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.001803/0.001803, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002319/0.002319, allocations: 214.1 kB / 22.24 MB, free: 5.262 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.756/1.756, allocations: 230.6 MB / 256 MB, free: 7.789 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 1.089/1.089, allocations: 100.9 MB / 413.3 MB, free: 2.848 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.003441/0.003441, allocations: 88.27 kB / 0.5641 GB, free: 35.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2352, allocations: 74.6 MB / 0.6369 GB, free: 6.473 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.9445/1.18, allocations: 176 MB / 0.8088 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01944/1.199, allocations: 13.49 MB / 0.8219 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/1.201, allocations: 61.12 kB / 0.822 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002322/1.204, allocations: 475.3 kB / 0.8225 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005843/1.21, allocations: 1.362 MB / 0.8238 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005442/1.215, allocations: 1.41 MB / 0.8252 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002857/1.218, allocations: 1.38 MB / 0.8265 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/1.218, allocations: 162.4 kB / 0.8267 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/1.221, allocations: 1.14 MB / 0.8278 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007152/1.222, allocations: 463.1 kB / 0.8282 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/1.222, allocations: 78.19 kB / 0.8283 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006794/1.229, allocations: 2.441 MB / 0.8307 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003122/1.229, allocations: 206.5 kB / 0.8309 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006482/1.23, allocations: 409.1 kB / 0.8313 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00545/1.236, allocations: 1.894 MB / 0.8331 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/1.236, allocations: 0 / 0.8331 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/1.236, allocations: 0 / 0.8331 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.403e-05/1.236, allocations: 0 / 0.8331 GB, free: 9.234 MB / 0.5919 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.004494/1.24, allocations: 1.502 MB / 0.8346 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/1.24, allocations: 12.94 kB / 0.8346 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/1.24, allocations: 120.2 kB / 0.8347 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/1.242, allocations: 254.5 kB / 0.835 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/1.244, allocations: 0.7118 MB / 0.8356 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003725/1.244, allocations: 284.1 kB / 0.8359 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/1.245, allocations: 71.44 kB / 0.836 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/1.246, allocations: 0.7983 MB / 0.8368 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/1.247, allocations: 2.219 kB / 0.8368 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/1.247, allocations: 36.91 kB / 0.8368 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/1.247, allocations: 19.34 kB / 0.8368 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/1.248, allocations: 0.685 MB / 0.8375 GB, free: 6.195 MB / 0.5919 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.004962/1.253, allocations: 1.936 MB / 0.8394 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/1.255, allocations: 0.5524 MB / 0.8399 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007404/1.256, allocations: 309.2 kB / 0.8402 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/1.256, allocations: 72 kB / 0.8403 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/1.256, allocations: 38.28 kB / 0.8403 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 3.376e-06/1.256, allocations: 0 / 0.8403 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.005287/1.261, allocations: 1.48 MB / 0.8418 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/1.261, allocations: 59.06 kB / 0.8418 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009665/1.262, allocations: 0.6688 MB / 0.8425 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/1.262, allocations: 36.33 kB / 0.8425 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/1.263, allocations: 437.7 kB / 0.8429 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/1.263, allocations: 218.6 kB / 0.8431 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/1.263, allocations: 114.2 kB / 0.8432 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001946/1.263, allocations: 327 kB / 0.8436 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005818/1.264, allocations: 225.1 kB / 0.8438 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006555/1.265, allocations: 290.3 kB / 0.8441 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/1.266, allocations: 0.5198 MB / 0.8446 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.266, allocations: 0 / 0.8446 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002606/1.268, allocations: 0.9315 MB / 0.8455 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.269, allocations: 6.062 kB / 0.8455 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.269, allocations: 0 / 0.8455 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008273/1.269, allocations: 216 kB / 0.8457 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/1.27, allocations: 114.2 kB / 0.8458 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00693/1.277, allocations: 4.723 MB / 0.8504 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008199/1.278, allocations: 74.5 kB / 0.8505 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.278, allocations: 38.45 kB / 0.8505 GB, free: 12.51 MB / 0.6075 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 (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 {(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.0005838/1.278, allocations: 196.6 kB / 0.8507 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/1.279, allocations: 95.23 kB / 0.8508 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003612/1.282, allocations: 1.301 MB / 0.8521 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.282, allocations: 5.719 kB / 0.8521 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.282, allocations: 2.625 kB / 0.8521 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.282, allocations: 3.984 kB / 0.8521 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005068/1.287, allocations: 1.718 MB / 0.8537 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/1.287, allocations: 2.344 kB / 0.8537 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005688/1.288, allocations: 111.2 kB / 0.8539 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/1.289, allocations: 223.4 kB / 0.8541 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/1.289, allocations: 22.95 kB / 0.8541 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007677/1.297, allocations: 4.727 MB / 0.8587 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.497e-05/1.297, allocations: 2.75 kB / 0.8587 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004462/1.301, allocations: 1.336 MB / 0.86 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005635/1.302, allocations: 135.3 kB / 0.8601 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/1.302, allocations: 13.12 kB / 0.8602 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/1.303, allocations: 35.97 kB / 0.8602 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/1.303, allocations: 56.62 kB / 0.8602 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.292e-05/1.303, allocations: 31.98 kB / 0.8603 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001222/1.304, allocations: 491 kB / 0.8607 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/1.304, allocations: 0 / 0.8607 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002255/1.307, allocations: 359.2 kB / 0.8611 GB, free: 3.762 MB / 0.6075 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.006044/1.313, allocations: 2.231 MB / 0.8633 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002789/1.316, allocations: 0.9591 MB / 0.8642 GB, free: 492 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/1.316, allocations: 4.062 kB / 0.8642 GB, free: 488 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/1.317, allocations: 0.7137 MB / 0.8649 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/1.319, allocations: 211.4 kB / 0.8651 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/1.337, allocations: 6.951 MB / 0.8719 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/1.337, allocations: 412.7 kB / 0.8723 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001202/1.339, allocations: 437.7 kB / 0.8727 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007939/1.339, allocations: 415.2 kB / 0.8731 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of SimCode: time 1.864e-06/1.339, allocations: 0 / 0.8731 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/1.44, allocations: 26.29 MB / 0.8988 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.96, allocations: 7.938 kB / 0.8988 GB, free: 13.16 MB / 0.6544 GB " [Timeout remaining time 644] (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: 20.685997696593404]