Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_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.001921/0.001921, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.691/1.691, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9272/0.9272, allocations: 91.2 MB / 381.6 MB, free: 9.391 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 82.91 kB / 460.4 MB, free: 23.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1869, allocations: 67.69 MB / 0.5157 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.7306/0.9175, allocations: 201.8 MB / 0.7128 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02065/0.9383, allocations: 15.02 MB / 0.7275 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.9398, allocations: 43.69 kB / 0.7275 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.9417, allocations: 0.5201 MB / 0.7281 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004594/0.9463, allocations: 1.31 MB / 0.7293 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004875/0.9512, allocations: 1.464 MB / 0.7308 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002096/0.9533, allocations: 1.351 MB / 0.7321 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004255/0.9537, allocations: 265 kB / 0.7323 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.956, allocations: 1.047 MB / 0.7334 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006457/0.9567, allocations: 0.5092 MB / 0.7339 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.9569, allocations: 76 kB / 0.7339 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005756/0.9627, allocations: 2.566 MB / 0.7364 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.9629, allocations: 199.2 kB / 0.7366 GB, free: 13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006042/0.9635, allocations: 0.505 MB / 0.7371 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003587/0.9671, allocations: 1.921 MB / 0.739 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.9671, allocations: 0 / 0.739 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9671, allocations: 0 / 0.739 GB, free: 10.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.9671, allocations: 0 / 0.739 GB, free: 10.57 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.00309/0.9702, allocations: 1.543 MB / 0.7405 GB, free: 8.977 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.9703, allocations: 12.03 kB / 0.7405 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.9705, allocations: 118.5 kB / 0.7406 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.9726, allocations: 246.4 kB / 0.7409 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.9736, allocations: 0.6932 MB / 0.7415 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/0.9739, allocations: 188.7 kB / 0.7417 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/0.9742, allocations: 75.91 kB / 0.7418 GB, free: 7.578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.976, allocations: 0.8219 MB / 0.7426 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.9761, allocations: 0 / 0.7426 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.712e-05/0.9762, allocations: 32 kB / 0.7426 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.9762, allocations: 19.98 kB / 0.7426 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.9778, allocations: 0.6558 MB / 0.7433 GB, free: 6.035 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.004829/0.9826, allocations: 3.214 MB / 0.7464 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.9843, allocations: 0.6044 MB / 0.747 GB, free: 1.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007437/0.985, allocations: 350.9 kB / 0.7473 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.9861, allocations: 0.8952 MB / 0.7482 GB, free: 500 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.9861, allocations: 39.12 kB / 0.7483 GB, free: 452 kB / 0.545 GB Notification: Performance of pre-optimization done (n=58): time 2.154e-06/0.9862, allocations: 4 kB / 0.7483 GB, free: 448 kB / 0.545 GB Notification: Performance of matching and sorting (n=58): time 0.005318/0.9915, allocations: 1.674 MB / 0.7499 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.9915, allocations: 59.97 kB / 0.75 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000807/0.9923, allocations: 0.669 MB / 0.7506 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.9924, allocations: 37.7 kB / 0.7506 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.9928, allocations: 436.2 kB / 0.7511 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/0.9932, allocations: 193.1 kB / 0.7512 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.9935, allocations: 114.2 kB / 0.7514 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.9937, allocations: 330 kB / 0.7517 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006687/0.9943, allocations: 253 kB / 0.7519 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008587/0.9952, allocations: 312.6 kB / 0.7522 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.9965, allocations: 0.5466 MB / 0.7527 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9966, allocations: 0 / 0.7527 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002815/0.9994, allocations: 1.031 MB / 0.7537 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.9994, allocations: 11.94 kB / 0.7538 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.9994, allocations: 0 / 0.7538 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009404/1, allocations: 234.4 kB / 0.754 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007843/1.001, allocations: 143.8 kB / 0.7541 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006768/1.008, allocations: 5.101 MB / 0.7591 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005468/1.009, allocations: 75.38 kB / 0.7592 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/1.009, allocations: 43.98 kB / 0.7592 GB, free: 4.637 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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.0005887/1.009, allocations: 209.6 kB / 0.7594 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.009, allocations: 78.97 kB / 0.7595 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/1.014, allocations: 1.403 MB / 0.7609 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.014, allocations: 11.94 kB / 0.7609 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.014, allocations: 0 / 0.7609 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.014, allocations: 7.984 kB / 0.7609 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/1.019, allocations: 2.071 MB / 0.7629 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.019, allocations: 0.5 kB / 0.7629 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008714/1.02, allocations: 139.9 kB / 0.763 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007553/1.021, allocations: 234.3 kB / 0.7633 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/1.021, allocations: 28.86 kB / 0.7633 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006488/1.027, allocations: 5.102 MB / 0.7683 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/1.027, allocations: 0 / 0.7683 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/1.031, allocations: 1.401 MB / 0.7696 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/1.031, allocations: 211.8 kB / 0.7698 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/1.032, allocations: 16 kB / 0.7699 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005475/1.032, allocations: 39.95 kB / 0.7699 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/1.032, allocations: 52.31 kB / 0.7699 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/1.032, allocations: 31.98 kB / 0.77 GB, free: 9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006782/1.033, allocations: 491 kB / 0.7704 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.033, allocations: 0 / 0.7704 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001469/1.034, allocations: 391.3 kB / 0.7708 GB, free: 8.145 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.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 (50): * Single equations (assignments): 47 * 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.005249/1.04, allocations: 2.373 MB / 0.7731 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00292/1.043, allocations: 1.092 MB / 0.7742 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.043, allocations: 4 kB / 0.7742 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/1.044, allocations: 0.7955 MB / 0.775 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/1.046, allocations: 216.1 kB / 0.7752 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/1.061, allocations: 7.427 MB / 0.7824 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008715/1.062, allocations: 0.9854 MB / 0.7834 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00132/1.063, allocations: 446.6 kB / 0.7838 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007299/1.064, allocations: 415.2 kB / 0.7842 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of SimCode: time 1.412e-06/1.064, allocations: 0 / 0.7842 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07877/1.143, allocations: 25.19 MB / 0.8088 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.88, allocations: 15.61 kB / 0.8088 GB, free: 1.109 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches