Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.001963/0.001963, 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.002058/0.002058, allocations: 196.8 kB / 16.54 MB, free: 6.672 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.905/1.905, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.073/1.073, allocations: 91.2 MB / 381.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001817, allocations: 80.72 kB / 460.4 MB, free: 23.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2548, allocations: 67.7 MB / 0.5157 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.7025/0.9574, allocations: 82.52 MB / 0.5963 GB, free: 5.973 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009045/0.9665, allocations: 4.492 MB / 0.6007 GB, free: 5.895 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.9693, allocations: 114.1 kB / 0.6008 GB, free: 5.895 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002801/0.9722, allocations: 0.8557 MB / 0.6017 GB, free: 5.891 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01201/0.9842, allocations: 3.392 MB / 0.605 GB, free: 5.875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.9957, allocations: 3.555 MB / 0.6084 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00779/1.004, allocations: 3.341 MB / 0.6117 GB, free: 5.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/1.005, allocations: 0.5656 MB / 0.6123 GB, free: 5.562 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0165/1.022, allocations: 8.086 MB / 0.6202 GB, free: 4.648 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002799/1.025, allocations: 1.164 MB / 0.6213 GB, free: 4.328 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007534/1.025, allocations: 139.7 kB / 0.6214 GB, free: 4.328 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009601/1.035, allocations: 3.44 MB / 0.6248 GB, free: 3.887 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006707/1.036, allocations: 388.3 kB / 0.6252 GB, free: 3.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002508/1.038, allocations: 1.042 MB / 0.6262 GB, free: 3.305 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009765/1.048, allocations: 3.385 MB / 0.6295 GB, free: 1.957 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.443e-06/1.048, allocations: 0 / 0.6295 GB, free: 1.957 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/1.048, allocations: 0 / 0.6295 GB, free: 1.957 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001184/1.048, allocations: 5.312 kB / 0.6295 GB, free: 1.953 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.009396/1.057, allocations: 2.755 MB / 0.6322 GB, free: 16.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/1.058, allocations: 10.53 kB / 0.6322 GB, free: 16.34 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005818/1.058, allocations: 220.2 kB / 0.6324 GB, free: 16.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004478/1.063, allocations: 431.9 kB / 0.6328 GB, free: 16.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/1.067, allocations: 1.303 MB / 0.6341 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/1.067, allocations: 120.6 kB / 0.6342 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004747/1.068, allocations: 174.6 kB / 0.6344 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005892/1.074, allocations: 1.6 MB / 0.6359 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.791e-05/1.074, allocations: 2.906 kB / 0.6359 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/1.074, allocations: 63.06 kB / 0.636 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/1.074, allocations: 43.16 kB / 0.636 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004246/1.078, allocations: 1.101 MB / 0.6371 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01594/1.094, allocations: 10.58 MB / 0.6474 GB, free: 3.441 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002695/1.097, allocations: 1.02 MB / 0.6484 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007747/1.098, allocations: 413.7 kB / 0.6488 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002322/1.1, allocations: 2.642 MB / 0.6514 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/1.1, allocations: 42.19 kB / 0.6514 GB, free: 15.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=105): time 3.507e-06/1.1, allocations: 0 / 0.6514 GB, free: 15.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=108): time 0.01111/1.111, allocations: 3.957 MB / 0.6553 GB, free: 13.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/1.111, allocations: 64.16 kB / 0.6554 GB, free: 13.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/1.114, allocations: 1.65 MB / 0.657 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.073e-05/1.114, allocations: 44.42 kB / 0.657 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007242/1.115, allocations: 0.949 MB / 0.6579 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/1.115, allocations: 387.5 kB / 0.6583 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/1.115, allocations: 256.8 kB / 0.6586 GB, free: 10.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/1.116, allocations: 352.2 kB / 0.6589 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009127/1.116, allocations: 414.3 kB / 0.6593 GB, free: 10.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/1.118, allocations: 0.6904 MB / 0.66 GB, free: 9.41 MB / 494.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: conductionElement5.deltaE_system = $START.conductionElement5.deltaE_system (0.0 = $START.conductionElement5.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: conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system (0.0 = $START.conductionElement3.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: conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system (0.0 = $START.conductionElement1.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.002408/1.12, allocations: 1.488 MB / 0.6614 GB, free: 7.746 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.12, allocations: 7.938 kB / 0.6614 GB, free: 7.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003363/1.123, allocations: 1.585 MB / 0.663 GB, free: 6.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/1.123, allocations: 12 kB / 0.663 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.123, allocations: 8 kB / 0.663 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/1.124, allocations: 193.4 kB / 0.6632 GB, free: 5.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.125, allocations: 311.6 kB / 0.6635 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006543/1.132, allocations: 8.731 MB / 0.672 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.133, allocations: 68.02 kB / 0.6721 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/1.133, allocations: 63.98 kB / 0.6721 GB, free: 11.89 MB / 0.4981 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: conductionElement5.deltaE_system = $START.conductionElement5.deltaE_system conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007588/1.134, allocations: 345.6 kB / 0.6725 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/1.135, allocations: 209.4 kB / 0.6727 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/1.138, allocations: 1.691 MB / 0.6743 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.138, allocations: 12 kB / 0.6743 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.139, allocations: 4 kB / 0.6743 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.139, allocations: 11.97 kB / 0.6743 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005779/1.144, allocations: 2.839 MB / 0.6771 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.144, allocations: 4 kB / 0.6771 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.145, allocations: 231.8 kB / 0.6773 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000605/1.146, allocations: 196.8 kB / 0.6775 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/1.146, allocations: 43.97 kB / 0.6776 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007422/1.154, allocations: 8.732 MB / 0.6861 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.154, allocations: 4.031 kB / 0.6861 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/1.158, allocations: 1.948 MB / 0.688 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008823/1.159, allocations: 262.4 kB / 0.6882 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005941/1.16, allocations: 24 kB / 0.6883 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.161, allocations: 55.89 kB / 0.6883 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/1.161, allocations: 100.8 kB / 0.6884 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.161, allocations: 55.91 kB / 0.6885 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001943/1.163, allocations: 1.085 MB / 0.6895 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/1.163, allocations: 0 / 0.6895 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002948/1.166, allocations: 0.5468 MB / 0.6901 GB, free: 8.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * 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 (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,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.006358/1.172, allocations: 2.953 MB / 0.693 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004579/1.177, allocations: 1.846 MB / 0.6948 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.177, allocations: 4 kB / 0.6948 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002145/1.179, allocations: 1.272 MB / 0.696 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/1.182, allocations: 432.8 kB / 0.6964 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02593/1.208, allocations: 16.18 MB / 0.7122 GB, free: 208 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.209, allocations: 1.381 MB / 0.7136 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001697/1.211, allocations: 0.5589 MB / 0.7141 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/1.212, allocations: 0.8624 MB / 0.715 GB, free: 13.38 MB / 0.545 GB Notification: Performance of SimCode: time 8.41e-07/1.212, allocations: 0 / 0.715 GB, free: 13.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/1.313, allocations: 46.28 MB / 0.7601 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/13.04, allocations: 8.438 kB / 0.7602 GB, free: 15.57 MB / 0.5919 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Undirected.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_Undirected_Processes_Tests_ConductionElement.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches