Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.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.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConductionElement",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.001427/0.001426, 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.001569/0.001569, allocations: 193.8 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.601/1.601, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7857/0.7857, allocations: 93.71 MB / 384.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 84.17 kB / 463.5 MB, free: 21.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1626, allocations: 68.26 MB / 0.5193 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.464/0.6268, allocations: 76.55 MB / 0.594 GB, free: 5.898 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.6421, allocations: 10.16 MB / 0.604 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/0.6443, allocations: 74 kB / 0.604 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.6471, allocations: 0.6987 MB / 0.6047 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.6586, allocations: 2.944 MB / 0.6076 GB, free: 5.801 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005504/0.6642, allocations: 1.457 MB / 0.609 GB, free: 5.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004147/0.6683, allocations: 2.303 MB / 0.6113 GB, free: 5.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.6698, allocations: 0.537 MB / 0.6118 GB, free: 21.61 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008291/0.6781, allocations: 3.921 MB / 0.6156 GB, free: 21.38 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.6802, allocations: 0.8937 MB / 0.6165 GB, free: 21.19 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003438/0.6805, allocations: 134.3 kB / 0.6166 GB, free: 21.19 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.6912, allocations: 4.28 MB / 0.6208 GB, free: 21.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007035/0.692, allocations: 342.6 kB / 0.6211 GB, free: 20.99 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.6938, allocations: 0.816 MB / 0.6219 GB, free: 20.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008044/0.7019, allocations: 2.759 MB / 0.6246 GB, free: 20.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7019, allocations: 0 / 0.6246 GB, free: 20.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.702, allocations: 0 / 0.6246 GB, free: 20.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.376e-05/0.702, allocations: 1.125 kB / 0.6246 GB, free: 20.32 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005664/0.7077, allocations: 2.237 MB / 0.6268 GB, free: 19.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.7077, allocations: 9.5 kB / 0.6268 GB, free: 19.24 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/0.7079, allocations: 169 kB / 0.627 GB, free: 19.2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.7104, allocations: 329.4 kB / 0.6273 GB, free: 19.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.7124, allocations: 1 MB / 0.6283 GB, free: 18.53 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.228e-05/0.7125, allocations: 89.56 kB / 0.6284 GB, free: 18.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.7126, allocations: 126.8 kB / 0.6285 GB, free: 18.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/0.7154, allocations: 1.296 MB / 0.6297 GB, free: 18.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.7154, allocations: 0 / 0.6297 GB, free: 18.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.7156, allocations: 46.09 kB / 0.6298 GB, free: 18.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.671e-05/0.7156, allocations: 56.89 kB / 0.6298 GB, free: 18.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.7182, allocations: 1.067 MB / 0.6309 GB, free: 17.9 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008532/0.7268, allocations: 5.573 MB / 0.6363 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.7291, allocations: 1.079 MB / 0.6374 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.7304, allocations: 0.5481 MB / 0.6379 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002725/0.7332, allocations: 2.414 MB / 0.6403 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.276e-05/0.7333, allocations: 41.88 kB / 0.6403 GB, free: 9.473 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 4.419e-06/0.7333, allocations: 4 kB / 0.6403 GB, free: 9.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.01017/0.7435, allocations: 3.708 MB / 0.6439 GB, free: 7.047 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/0.7436, allocations: 67.36 kB / 0.644 GB, free: 6.977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.7451, allocations: 1.02 MB / 0.645 GB, free: 6.426 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/0.7452, allocations: 44.52 kB / 0.645 GB, free: 6.379 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006242/0.7458, allocations: 0.6324 MB / 0.6457 GB, free: 5.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.7462, allocations: 369.6 kB / 0.646 GB, free: 5.504 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/0.7465, allocations: 196 kB / 0.6462 GB, free: 5.387 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.7467, allocations: 345.8 kB / 0.6465 GB, free: 5.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008437/0.7476, allocations: 391.1 kB / 0.6469 GB, free: 4.859 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.7486, allocations: 0.5341 MB / 0.6474 GB, free: 4.504 MB / 478.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system (0.0 = $START.conductionElement4.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system (0.0 = $START.conductionElement2.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.7508, allocations: 1.22 MB / 0.6486 GB, free: 3.629 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.7509, allocations: 2.75 kB / 0.6486 GB, free: 3.629 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003063/0.7539, allocations: 1.388 MB / 0.65 GB, free: 2.891 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.754, allocations: 13.08 kB / 0.65 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.754, allocations: 1.969 kB / 0.65 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007819/0.7548, allocations: 242.5 kB / 0.6502 GB, free: 2.762 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.7558, allocations: 223.1 kB / 0.6504 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006847/0.7627, allocations: 5.746 MB / 0.656 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.7638, allocations: 41.3 kB / 0.6561 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.7639, allocations: 50.16 kB / 0.6561 GB, free: 13.31 MB / 494.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (109): * Single equations (assignments): 106 * 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,15,77.8%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006717/0.7646, allocations: 304.7 kB / 0.6564 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.7649, allocations: 141.3 kB / 0.6565 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003563/0.7685, allocations: 1.556 MB / 0.6581 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.7685, allocations: 15.66 kB / 0.6581 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.7685, allocations: 5.438 kB / 0.6581 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.7686, allocations: 3.984 kB / 0.6581 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007259/0.7758, allocations: 3.882 MB / 0.6619 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.7759, allocations: 4 kB / 0.6619 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009093/0.7768, allocations: 200 kB / 0.6621 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007965/0.7776, allocations: 255.8 kB / 0.6623 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.7777, allocations: 47.95 kB / 0.6624 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007437/0.7852, allocations: 5.755 MB / 0.668 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.7853, allocations: 7.938 kB / 0.668 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004903/0.7902, allocations: 1.989 MB / 0.6699 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006022/0.7908, allocations: 203.3 kB / 0.6701 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.791, allocations: 28 kB / 0.6702 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008226/0.7918, allocations: 51.95 kB / 0.6702 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/0.7921, allocations: 96.75 kB / 0.6703 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.7922, allocations: 47.95 kB / 0.6703 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001209/0.7934, allocations: 0.6886 MB / 0.671 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7934, allocations: 0 / 0.671 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002497/0.7959, allocations: 0.5037 MB / 0.6715 GB, free: 14.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,splitterX.splitterN.inlet.m_flow,conductionElement3.inlet.m_flow,conductionElement3.h,conductionElement3.deltaE_system,conductionElement4.h,flowResistance.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 (88): * Single equations (assignments): 85 * 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 {(4,14,75.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006449/0.8024, allocations: 3.024 MB / 0.6745 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004225/0.8066, allocations: 1.583 MB / 0.676 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.253e-05/0.8067, allocations: 0.7344 kB / 0.676 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.8089, allocations: 1.033 MB / 0.677 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.811, allocations: 372.9 kB / 0.6774 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/0.8328, allocations: 11.88 MB / 0.689 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.8339, allocations: 1.214 MB / 0.6902 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001324/0.8353, allocations: 361.5 kB / 0.6905 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009602/0.8363, allocations: 0.6047 MB / 0.6911 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of SimCode: time 1.332e-06/0.8363, allocations: 3.938 kB / 0.6911 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/0.9387, allocations: 38.93 MB / 0.7291 GB, free: 2.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.89, allocations: 6.75 kB / 0.7291 GB, free: 2.969 MB / 0.545 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConductionElement.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches