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.0008388/0.0008388, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005055/0.005055, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.168/1.168, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5287/0.5287, allocations: 89.64 MB / 381.1 MB, free: 11.31 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000309/0.000309, allocations: 13 kB / 460.7 MB, free: 24.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.09293, allocations: 68.83 MB / 0.5172 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.3906/0.4836, allocations: 197.3 MB / 0.7098 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.4994, allocations: 14.65 MB / 0.7241 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009216/0.5003, allocations: 19.88 kB / 0.7241 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.5018, allocations: 457.7 kB / 0.7246 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00342/0.5052, allocations: 1.124 MB / 0.7257 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.5085, allocations: 1.215 MB / 0.7269 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.51, allocations: 1.355 MB / 0.7282 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.5104, allocations: 233.1 kB / 0.7284 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.5122, allocations: 0.9538 MB / 0.7293 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006303/0.5128, allocations: 445.8 kB / 0.7298 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.513, allocations: 40 kB / 0.7298 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004488/0.5175, allocations: 2.574 MB / 0.7323 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.5177, allocations: 147.2 kB / 0.7325 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.5182, allocations: 455.3 kB / 0.7329 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.5207, allocations: 1.671 MB / 0.7345 GB, free: 12.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5207, allocations: 0 / 0.7345 GB, free: 12.61 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5207, allocations: 3.938 kB / 0.7345 GB, free: 12.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.5208, allocations: 4 kB / 0.7345 GB, free: 12.6 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.002354/0.5231, allocations: 1.228 MB / 0.7357 GB, free: 11.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.5232, allocations: 8.031 kB / 0.7357 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.5233, allocations: 118.5 kB / 0.7359 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.5249, allocations: 226.6 kB / 0.7361 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006769/0.5256, allocations: 0.5254 MB / 0.7366 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.5258, allocations: 192.7 kB / 0.7368 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.5259, allocations: 75.91 kB / 0.7368 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.5275, allocations: 0.8531 MB / 0.7377 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5275, allocations: 0 / 0.7377 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.5277, allocations: 28 kB / 0.7377 GB, free: 9.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.5277, allocations: 19.94 kB / 0.7377 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.5291, allocations: 0.6754 MB / 0.7384 GB, free: 8.52 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.003974/0.5331, allocations: 3.21 MB / 0.7415 GB, free: 5.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.5344, allocations: 0.6317 MB / 0.7421 GB, free: 4.383 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007063/0.5351, allocations: 370.4 kB / 0.7425 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005719/0.5357, allocations: 0.8991 MB / 0.7434 GB, free: 2.918 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.5358, allocations: 35.12 kB / 0.7434 GB, free: 2.871 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.074e-06/0.5358, allocations: 8 kB / 0.7434 GB, free: 2.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.004802/0.5406, allocations: 1.874 MB / 0.7452 GB, free: 0.918 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.5406, allocations: 59.91 kB / 0.7453 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.5412, allocations: 0.4991 MB / 0.7458 GB, free: 348 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.5412, allocations: 33.7 kB / 0.7458 GB, free: 308 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.5415, allocations: 372.2 kB / 0.7462 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.5416, allocations: 204.9 kB / 0.7464 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.5417, allocations: 45.7 kB / 0.7464 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5419, allocations: 374.8 kB / 0.7468 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/0.5425, allocations: 281 kB / 0.747 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.5432, allocations: 288.9 kB / 0.7473 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.5444, allocations: 0.5702 MB / 0.7479 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5444, allocations: 0 / 0.7479 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002756/0.5472, allocations: 1.113 MB / 0.7489 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5472, allocations: 6.188 kB / 0.749 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5472, allocations: 0 / 0.749 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008129/0.548, allocations: 262.4 kB / 0.7492 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/0.5487, allocations: 159.8 kB / 0.7494 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005293/0.554, allocations: 4.923 MB / 0.7542 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.5546, allocations: 91.44 kB / 0.7543 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.962e-05/0.5547, allocations: 35.98 kB / 0.7543 GB, free: 7.176 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.000268/0.5549, allocations: 201.6 kB / 0.7545 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.555, allocations: 63.25 kB / 0.7545 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/0.5586, allocations: 1.526 MB / 0.756 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.5586, allocations: 8 kB / 0.756 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5586, allocations: 0 / 0.756 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5586, allocations: 3.984 kB / 0.756 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/0.5627, allocations: 2.176 MB / 0.7582 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.5627, allocations: 4 kB / 0.7582 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007011/0.5634, allocations: 143.9 kB / 0.7583 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007073/0.5641, allocations: 270.3 kB / 0.7586 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.5642, allocations: 27.98 kB / 0.7586 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005245/0.5694, allocations: 4.923 MB / 0.7634 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5694, allocations: 4 kB / 0.7634 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.5727, allocations: 1.534 MB / 0.7649 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.5729, allocations: 204.2 kB / 0.7651 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/0.573, allocations: 12 kB / 0.7651 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.5736, allocations: 67.8 kB / 0.7652 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.5737, allocations: 48.44 kB / 0.7652 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/0.5737, allocations: 47.92 kB / 0.7653 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004012/0.5741, allocations: 370.8 kB / 0.7656 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5741, allocations: 0 / 0.7656 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008663/0.575, allocations: 363.3 kB / 0.766 GB, free: 10.61 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.004362/0.5794, allocations: 2.456 MB / 0.7684 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002287/0.5817, allocations: 1.14 MB / 0.7695 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5817, allocations: 4 kB / 0.7695 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.5833, allocations: 0.8663 MB / 0.7703 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5843, allocations: 174.5 kB / 0.7705 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.5959, allocations: 7.257 MB / 0.7776 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.5965, allocations: 0.9419 MB / 0.7785 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001018/0.5975, allocations: 431 kB / 0.7789 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/0.598, allocations: 335.3 kB / 0.7792 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.598, allocations: 0 / 0.7792 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.586/5.184, allocations: 21.73 MB / 0.8004 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/5.184, allocations: 296.4 kB / 0.8007 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.138/8.323, allocations: 0 / 0.8007 GB, free: 6.957 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