Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_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.001499/0.001499, allocations: 108 kB / 15.61 MB, free: 152 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.001942/0.001943, allocations: 197 kB / 16.53 MB, free: 6.664 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7163/0.7163, allocations: 91.21 MB / 381.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 79.38 kB / 460.4 MB, free: 23.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1577, allocations: 67.71 MB / 0.5157 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.4482/0.6059, allocations: 76.5 MB / 0.5904 GB, free: 5.883 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.6212, allocations: 10.12 MB / 0.6003 GB, free: 5.801 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003528/0.6248, allocations: 65.91 kB / 0.6004 GB, free: 5.801 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003609/0.6285, allocations: 0.6981 MB / 0.6011 GB, free: 5.797 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.6404, allocations: 2.911 MB / 0.6039 GB, free: 5.781 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00586/0.6463, allocations: 1.458 MB / 0.6053 GB, free: 5.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004127/0.6504, allocations: 2.221 MB / 0.6075 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.6516, allocations: 0.5425 MB / 0.608 GB, free: 5.617 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008407/0.66, allocations: 3.883 MB / 0.6118 GB, free: 5.441 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.6624, allocations: 0.8869 MB / 0.6127 GB, free: 5.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004009/0.6628, allocations: 134.4 kB / 0.6128 GB, free: 5.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009926/0.6727, allocations: 4.272 MB / 0.617 GB, free: 5.121 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005068/0.6733, allocations: 344.8 kB / 0.6173 GB, free: 5.055 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.6748, allocations: 0.8088 MB / 0.6181 GB, free: 4.805 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007495/0.6823, allocations: 2.737 MB / 0.6208 GB, free: 4.398 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.6823, allocations: 1.375 kB / 0.6208 GB, free: 4.398 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6823, allocations: 3.469 kB / 0.6208 GB, free: 4.398 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.091e-05/0.6824, allocations: 4 kB / 0.6208 GB, free: 4.395 MB / 462.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.005223/0.6876, allocations: 2.214 MB / 0.623 GB, free: 19.33 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.6876, allocations: 10.25 kB / 0.623 GB, free: 19.33 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/0.6879, allocations: 170.9 kB / 0.6231 GB, free: 19.29 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.6899, allocations: 319.2 kB / 0.6234 GB, free: 19.19 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.6917, allocations: 0.975 MB / 0.6244 GB, free: 18.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.6918, allocations: 88.62 kB / 0.6245 GB, free: 18.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.692, allocations: 124.2 kB / 0.6246 GB, free: 18.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.6947, allocations: 1.298 MB / 0.6259 GB, free: 18.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.6947, allocations: 0 / 0.6259 GB, free: 18.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.6948, allocations: 52.12 kB / 0.6259 GB, free: 18.64 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.6949, allocations: 57.86 kB / 0.626 GB, free: 18.62 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.697, allocations: 1.065 MB / 0.627 GB, free: 18.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007407/0.7044, allocations: 5.555 MB / 0.6324 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.7063, allocations: 1.082 MB / 0.6335 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008885/0.7072, allocations: 0.5467 MB / 0.634 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/0.7089, allocations: 2.42 MB / 0.6364 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.709, allocations: 42.48 kB / 0.6364 GB, free: 11.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.025e-06/0.709, allocations: 0 / 0.6364 GB, free: 11.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.008181/0.7172, allocations: 3.706 MB / 0.64 GB, free: 8.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.7172, allocations: 62.5 kB / 0.6401 GB, free: 8.613 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.7184, allocations: 0.9933 MB / 0.6411 GB, free: 8.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.433e-05/0.7185, allocations: 43.8 kB / 0.6411 GB, free: 8.027 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.719, allocations: 0.6179 MB / 0.6417 GB, free: 7.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.7193, allocations: 365.8 kB / 0.6421 GB, free: 7.168 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.7196, allocations: 192.8 kB / 0.6423 GB, free: 7.055 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.7198, allocations: 350.6 kB / 0.6426 GB, free: 6.715 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007974/0.7207, allocations: 385.9 kB / 0.643 GB, free: 6.527 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009782/0.7216, allocations: 0.5366 MB / 0.6435 GB, free: 6.168 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.002453/0.7241, allocations: 1.225 MB / 0.6447 GB, free: 5.309 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7241, allocations: 0 / 0.6447 GB, free: 5.309 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002901/0.727, allocations: 1.385 MB / 0.646 GB, free: 4.605 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.7271, allocations: 7.594 kB / 0.646 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.7271, allocations: 2.75 kB / 0.646 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008036/0.7279, allocations: 241.7 kB / 0.6463 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000923/0.7288, allocations: 223.5 kB / 0.6465 GB, free: 4.434 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006696/0.7355, allocations: 5.758 MB / 0.6521 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.7372, allocations: 41.11 kB / 0.6521 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/0.7373, allocations: 46.36 kB / 0.6522 GB, free: 15.05 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.0007827/0.7381, allocations: 305.5 kB / 0.6525 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/0.7385, allocations: 136.2 kB / 0.6526 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/0.742, allocations: 1.549 MB / 0.6541 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.7421, allocations: 19 kB / 0.6541 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.7421, allocations: 6.547 kB / 0.6541 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.7421, allocations: 3.984 kB / 0.6541 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006159/0.7483, allocations: 3.874 MB / 0.6579 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.7483, allocations: 4.5 kB / 0.6579 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008697/0.7492, allocations: 199.1 kB / 0.6581 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007377/0.7499, allocations: 256.6 kB / 0.6584 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.972e-05/0.75, allocations: 39.97 kB / 0.6584 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005815/0.7559, allocations: 5.764 MB / 0.664 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.7559, allocations: 3.188 kB / 0.664 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003802/0.7597, allocations: 1.99 MB / 0.666 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/0.7603, allocations: 203.4 kB / 0.6662 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.7604, allocations: 24 kB / 0.6662 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.7611, allocations: 47.95 kB / 0.6662 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.7613, allocations: 96.75 kB / 0.6663 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.857e-05/0.7614, allocations: 47.97 kB / 0.6664 GB, free: 1.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008894/0.7623, allocations: 0.6719 MB / 0.667 GB, free: 1.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7623, allocations: 0 / 0.667 GB, free: 1.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002029/0.7644, allocations: 0.5076 MB / 0.6675 GB, free: 0.7695 MB / 494.1 MB 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.005243/0.7696, allocations: 3.012 MB / 0.6705 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003768/0.7734, allocations: 1.583 MB / 0.672 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.7735, allocations: 0 / 0.672 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.7752, allocations: 1.028 MB / 0.673 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.7771, allocations: 368.9 kB / 0.6734 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/0.7973, allocations: 11.73 MB / 0.6848 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.7987, allocations: 1.214 MB / 0.686 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001305/0.8, allocations: 349.7 kB / 0.6864 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/0.8012, allocations: 0.5929 MB / 0.6869 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of SimCode: time 1.643e-06/0.8012, allocations: 0 / 0.6869 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/0.9216, allocations: 38.59 MB / 0.7246 GB, free: 6.031 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.53, allocations: 4.047 kB / 0.7246 GB, free: 6.027 MB / 0.545 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Processes_Tests_ConductionElement.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches