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.008034/0.008034, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001741/0.001741, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.707/0.707, allocations: 91.19 MB / 381.7 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002515/0.002515, allocations: 83.86 kB / 0.5164 GB, free: 4.613 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3813, allocations: 67.69 MB / 0.5825 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.08342/0.4648, allocations: 82.54 MB / 0.6631 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007492/0.4723, allocations: 4.498 MB / 0.6675 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.4745, allocations: 111.3 kB / 0.6676 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002704/0.4772, allocations: 0.8535 MB / 0.6684 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009887/0.4872, allocations: 3.461 MB / 0.6718 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01105/0.4982, allocations: 3.575 MB / 0.6753 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00531/0.5036, allocations: 3.369 MB / 0.6786 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.505, allocations: 0.5595 MB / 0.6791 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01518/0.5202, allocations: 8.167 MB / 0.6871 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.5223, allocations: 1.166 MB / 0.6882 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007015/0.5231, allocations: 140 kB / 0.6884 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007533/0.5306, allocations: 3.475 MB / 0.6918 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008305/0.5315, allocations: 394.1 kB / 0.6921 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002273/0.5338, allocations: 1.045 MB / 0.6932 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009033/0.5428, allocations: 3.487 MB / 0.6966 GB, free: 8.883 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5429, allocations: 0 / 0.6966 GB, free: 8.883 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.386e-06/0.5429, allocations: 0 / 0.6966 GB, free: 8.883 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.711e-05/0.543, allocations: 3.938 kB / 0.6966 GB, free: 8.879 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005294/0.5483, allocations: 2.832 MB / 0.6993 GB, free: 5.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5483, allocations: 8.031 kB / 0.6993 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002273/0.5486, allocations: 224 kB / 0.6996 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/0.5512, allocations: 443 kB / 0.7 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.5538, allocations: 1.487 MB / 0.7014 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.476e-05/0.5539, allocations: 123.2 kB / 0.7015 GB, free: 3.652 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.5541, allocations: 171.9 kB / 0.7017 GB, free: 3.484 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/0.5574, allocations: 1.595 MB / 0.7033 GB, free: 1.781 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.5574, allocations: 11.94 kB / 0.7033 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.5575, allocations: 64 kB / 0.7033 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.5576, allocations: 36 kB / 0.7034 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.5602, allocations: 1.092 MB / 0.7044 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009794/0.57, allocations: 10.55 MB / 0.7147 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.5725, allocations: 1.025 MB / 0.7157 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.5733, allocations: 412.5 kB / 0.7161 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.5753, allocations: 2.637 MB / 0.7187 GB, free: 228 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.5753, allocations: 47.55 kB / 0.7188 GB, free: 172 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=105): time 3.126e-06/0.5753, allocations: 0 / 0.7188 GB, free: 172 kB / 0.5606 GB Notification: Performance of matching and sorting (n=108): time 0.01055/0.5859, allocations: 3.987 MB / 0.7227 GB, free: 12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.586, allocations: 68.41 kB / 0.7227 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.5878, allocations: 1.657 MB / 0.7243 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/0.5879, allocations: 49.64 kB / 0.7244 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006783/0.5886, allocations: 0.951 MB / 0.7253 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.5889, allocations: 416.4 kB / 0.7257 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/0.5892, allocations: 251.5 kB / 0.726 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5893, allocations: 349.9 kB / 0.7263 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009048/0.5902, allocations: 415.8 kB / 0.7267 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.5913, allocations: 0.6826 MB / 0.7273 GB, free: 7.016 MB / 0.5762 GB 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.002398/0.5937, allocations: 1.495 MB / 0.7288 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.5938, allocations: 4 kB / 0.7288 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003137/0.5969, allocations: 1.59 MB / 0.7304 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5969, allocations: 12 kB / 0.7304 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.597, allocations: 8 kB / 0.7304 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/0.5975, allocations: 185.4 kB / 0.7306 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.5987, allocations: 315.5 kB / 0.7309 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005815/0.6045, allocations: 8.737 MB / 0.7394 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.6058, allocations: 55.97 kB / 0.7394 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.606, allocations: 67.97 kB / 0.7395 GB, free: 9.484 MB / 0.5919 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.0006473/0.6067, allocations: 349.1 kB / 0.7398 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/0.607, allocations: 218.5 kB / 0.7401 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/0.6105, allocations: 1.694 MB / 0.7417 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.6105, allocations: 12 kB / 0.7417 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6105, allocations: 4 kB / 0.7417 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.6105, allocations: 7.969 kB / 0.7417 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004913/0.6154, allocations: 2.843 MB / 0.7445 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6155, allocations: 4 kB / 0.7445 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.6165, allocations: 227.7 kB / 0.7447 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005441/0.617, allocations: 197 kB / 0.7449 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.05e-05/0.6172, allocations: 47.97 kB / 0.745 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2554/0.8726, allocations: 8.728 MB / 0.7535 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.8726, allocations: 4.953 kB / 0.7535 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003957/0.8766, allocations: 1.969 MB / 0.7554 GB, free: 151.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.8771, allocations: 272.1 kB / 0.7557 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.8773, allocations: 25.66 kB / 0.7557 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/0.8781, allocations: 50.86 kB / 0.7557 GB, free: 151.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.8784, allocations: 109.2 kB / 0.7558 GB, free: 151.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.8785, allocations: 47.47 kB / 0.7559 GB, free: 151.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001775/0.8803, allocations: 1.084 MB / 0.757 GB, free: 151.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8803, allocations: 0 / 0.757 GB, free: 151.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002526/0.8828, allocations: 0.5463 MB / 0.7575 GB, free: 151.2 MB / 0.5919 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.005691/0.8885, allocations: 2.971 MB / 0.7604 GB, free: 149.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003635/0.8922, allocations: 1.815 MB / 0.7622 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.8922, allocations: 0 / 0.7622 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.8941, allocations: 1.279 MB / 0.7634 GB, free: 148 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.8962, allocations: 437.2 kB / 0.7638 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/0.9147, allocations: 14.01 MB / 0.7775 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.9153, allocations: 1.377 MB / 0.7789 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001197/0.9165, allocations: 0.5604 MB / 0.7794 GB, free: 137.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008719/0.9174, allocations: 0.8663 MB / 0.7802 GB, free: 136.9 MB / 0.5919 GB Notification: Performance of SimCode: time 7.92e-07/0.9174, allocations: 0 / 0.7802 GB, free: 136.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07712/0.9945, allocations: 47.03 MB / 0.8262 GB, free: 90.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.78, allocations: 11.02 kB / 0.8262 GB, free: 90.3 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