Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 200.7 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5797/0.5797, allocations: 91.2 MB / 381.3 MB, free: 9.523 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 77.84 kB / 459.9 MB, free: 23.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.09108, allocations: 67.71 MB / 0.5153 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.3654/0.4565, allocations: 200 MB / 0.7106 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.4709, allocations: 14.83 MB / 0.7251 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008988/0.4718, allocations: 55.62 kB / 0.7251 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.4731, allocations: 461.5 kB / 0.7256 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.476, allocations: 1.194 MB / 0.7267 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.4789, allocations: 1.273 MB / 0.728 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.4803, allocations: 1.347 MB / 0.7293 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.4807, allocations: 265 kB / 0.7295 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.4825, allocations: 1.098 MB / 0.7306 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/0.483, allocations: 0.5092 MB / 0.7311 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.363e-05/0.4831, allocations: 76 kB / 0.7312 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003771/0.4869, allocations: 2.691 MB / 0.7338 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.4871, allocations: 203.1 kB / 0.734 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003868/0.4875, allocations: 0.5011 MB / 0.7345 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.4895, allocations: 1.854 MB / 0.7363 GB, free: 13.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4895, allocations: 0 / 0.7363 GB, free: 13.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4895, allocations: 0 / 0.7363 GB, free: 13.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.4895, allocations: 4 kB / 0.7363 GB, free: 13.27 MB / 0.545 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.002312/0.4918, allocations: 1.52 MB / 0.7378 GB, free: 11.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.4919, allocations: 12.03 kB / 0.7378 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.492, allocations: 126.5 kB / 0.7379 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.4935, allocations: 239.2 kB / 0.7382 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009036/0.4945, allocations: 0.6971 MB / 0.7388 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.4947, allocations: 180.8 kB / 0.739 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.4948, allocations: 79.84 kB / 0.7391 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.4962, allocations: 0.8297 MB / 0.7399 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4963, allocations: 0 / 0.7399 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.4963, allocations: 24 kB / 0.7399 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4964, allocations: 20 kB / 0.7399 GB, free: 9.406 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.4977, allocations: 0.6441 MB / 0.7406 GB, free: 8.766 MB / 0.545 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.003665/0.5013, allocations: 3.236 MB / 0.7437 GB, free: 5.242 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.5026, allocations: 0.5911 MB / 0.7443 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006342/0.5032, allocations: 350.4 kB / 0.7446 GB, free: 4.301 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005651/0.5038, allocations: 0.903 MB / 0.7455 GB, free: 3.195 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.5038, allocations: 39.12 kB / 0.7456 GB, free: 3.148 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.845e-06/0.5038, allocations: 0 / 0.7456 GB, free: 3.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.004423/0.5083, allocations: 1.69 MB / 0.7472 GB, free: 1.387 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.5083, allocations: 55.97 kB / 0.7473 GB, free: 1.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/0.509, allocations: 0.6455 MB / 0.7479 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.509, allocations: 37.7 kB / 0.7479 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.5093, allocations: 424.2 kB / 0.7483 GB, free: 208 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.5094, allocations: 197.1 kB / 0.7485 GB, free: 8 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.5096, allocations: 110.2 kB / 0.7486 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5098, allocations: 330 kB / 0.7489 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/0.5103, allocations: 256.9 kB / 0.7492 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.5109, allocations: 260.9 kB / 0.7494 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.512, allocations: 0.5233 MB / 0.7499 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.512, allocations: 0 / 0.7499 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002555/0.5146, allocations: 1.019 MB / 0.7509 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5146, allocations: 4 kB / 0.7509 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5146, allocations: 1.25 kB / 0.7509 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007153/0.5154, allocations: 234.3 kB / 0.7512 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.5161, allocations: 143.8 kB / 0.7513 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/0.5214, allocations: 5.093 MB / 0.7563 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.5219, allocations: 87.66 kB / 0.7564 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/0.522, allocations: 39.98 kB / 0.7564 GB, free: 7.469 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 {(3,1,88.9%), (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.0002667/0.5222, allocations: 209.6 kB / 0.7566 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.5224, allocations: 78.97 kB / 0.7567 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003421/0.5258, allocations: 1.418 MB / 0.7581 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5258, allocations: 11.88 kB / 0.7581 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5258, allocations: 4 kB / 0.7581 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.5258, allocations: 3.984 kB / 0.7581 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.5298, allocations: 2.082 MB / 0.7601 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5298, allocations: 0 / 0.7601 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/0.5305, allocations: 135.8 kB / 0.7602 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006717/0.5312, allocations: 242.4 kB / 0.7605 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/0.5313, allocations: 27.92 kB / 0.7605 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005138/0.5364, allocations: 5.105 MB / 0.7655 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5364, allocations: 0 / 0.7655 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/0.5396, allocations: 1.413 MB / 0.7669 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.5398, allocations: 211.9 kB / 0.7671 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.54, allocations: 19.84 kB / 0.7671 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/0.5405, allocations: 47.95 kB / 0.7671 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.5406, allocations: 56.48 kB / 0.7672 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.137e-05/0.5407, allocations: 35.98 kB / 0.7672 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005226/0.5412, allocations: 475 kB / 0.7677 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5412, allocations: 3.938 kB / 0.7677 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009423/0.5422, allocations: 367.3 kB / 0.768 GB, free: 10.95 MB / 0.5762 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 (53): * Single equations (assignments): 50 * 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,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.004148/0.5463, allocations: 2.341 MB / 0.7703 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002292/0.5486, allocations: 1.089 MB / 0.7714 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5486, allocations: 0 / 0.7714 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.5502, allocations: 0.7922 MB / 0.7722 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009223/0.5511, allocations: 210.4 kB / 0.7724 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.5631, allocations: 7.634 MB / 0.7798 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.5637, allocations: 0.9892 MB / 0.7808 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001025/0.5647, allocations: 452.5 kB / 0.7812 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005852/0.5653, allocations: 395.3 kB / 0.7816 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of SimCode: time 1.443e-06/0.5653, allocations: 0 / 0.7816 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06698/0.6323, allocations: 24.38 MB / 0.8054 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/0.6326, allocations: 286.5 kB / 0.8057 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.075, allocations: 0 / 0.8057 GB, free: 4.281 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches