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.008318/0.008318, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00187/0.00187, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7/0.7, allocations: 91.19 MB / 381.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 79.88 kB / 0.5164 GB, free: 9.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1249, allocations: 67.69 MB / 0.5825 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3912/0.5162, allocations: 76.53 MB / 0.6572 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01594/0.5322, allocations: 10.11 MB / 0.6671 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.5346, allocations: 66.41 kB / 0.6671 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.5372, allocations: 0.6966 MB / 0.6678 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00951/0.5467, allocations: 2.957 MB / 0.6707 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005086/0.5519, allocations: 1.464 MB / 0.6721 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004046/0.556, allocations: 2.243 MB / 0.6743 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.5571, allocations: 0.5425 MB / 0.6749 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008219/0.5653, allocations: 3.926 MB / 0.6787 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.5673, allocations: 0.8867 MB / 0.6796 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005328/0.5678, allocations: 136 kB / 0.6797 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008337/0.5762, allocations: 4.309 MB / 0.6839 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005894/0.5768, allocations: 350.6 kB / 0.6842 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.5782, allocations: 0.8043 MB / 0.685 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006691/0.5849, allocations: 2.818 MB / 0.6878 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.585, allocations: 0 / 0.6878 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.164e-06/0.585, allocations: 0 / 0.6878 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.18e-05/0.5851, allocations: 0 / 0.6878 GB, free: 12.63 MB / 0.5294 GB 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.005302/0.5904, allocations: 2.28 MB / 0.69 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.5905, allocations: 12.03 kB / 0.69 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003015/0.5908, allocations: 177.8 kB / 0.6902 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/0.593, allocations: 322.6 kB / 0.6905 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.5952, allocations: 1.07 MB / 0.6915 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.5954, allocations: 90.25 kB / 0.6916 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.5957, allocations: 127.9 kB / 0.6917 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/0.5989, allocations: 1.294 MB / 0.693 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.599, allocations: 0 / 0.693 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.5991, allocations: 51.98 kB / 0.6931 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.906e-05/0.5992, allocations: 46.19 kB / 0.6931 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.602, allocations: 1.07 MB / 0.6941 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008944/0.611, allocations: 5.531 MB / 0.6995 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.6136, allocations: 1.089 MB / 0.7006 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.6148, allocations: 0.5549 MB / 0.7011 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.6164, allocations: 2.408 MB / 0.7035 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.6165, allocations: 43.56 kB / 0.7035 GB, free: 11.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 5.691e-06/0.6165, allocations: 3.984 kB / 0.7035 GB, free: 11.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.009786/0.6263, allocations: 3.723 MB / 0.7072 GB, free: 7.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.6264, allocations: 68.39 kB / 0.7072 GB, free: 7.293 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.628, allocations: 0.9993 MB / 0.7082 GB, free: 6.285 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.6282, allocations: 41.7 kB / 0.7083 GB, free: 6.238 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/0.6287, allocations: 0.6273 MB / 0.7089 GB, free: 5.605 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004487/0.6292, allocations: 384.6 kB / 0.7092 GB, free: 5.227 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.6296, allocations: 186.9 kB / 0.7094 GB, free: 5.039 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6298, allocations: 349.9 kB / 0.7098 GB, free: 4.691 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009014/0.6307, allocations: 390.4 kB / 0.7101 GB, free: 4.309 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.6317, allocations: 0.5261 MB / 0.7106 GB, free: 3.734 MB / 0.545 GB 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.002176/0.6339, allocations: 1.238 MB / 0.7118 GB, free: 2.398 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.6339, allocations: 288 / 0.7118 GB, free: 2.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003066/0.637, allocations: 1.393 MB / 0.7132 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.6371, allocations: 12.03 kB / 0.7132 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.6371, allocations: 4 kB / 0.7132 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007989/0.6379, allocations: 239.8 kB / 0.7135 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.6389, allocations: 219.7 kB / 0.7137 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006417/0.6453, allocations: 5.755 MB / 0.7193 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.6464, allocations: 35.98 kB / 0.7193 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.6466, allocations: 47.97 kB / 0.7194 GB, free: 10.26 MB / 0.5606 GB 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.000814/0.6475, allocations: 305.5 kB / 0.7197 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004909/0.648, allocations: 143.1 kB / 0.7198 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.6516, allocations: 1.551 MB / 0.7213 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.6517, allocations: 15.92 kB / 0.7213 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.6517, allocations: 4 kB / 0.7213 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.6517, allocations: 15.91 kB / 0.7213 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006733/0.6584, allocations: 3.853 MB / 0.7251 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.6585, allocations: 4 kB / 0.7251 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009326/0.6594, allocations: 187.7 kB / 0.7253 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007961/0.6603, allocations: 256.2 kB / 0.7255 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.6604, allocations: 47.91 kB / 0.7256 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005599/0.666, allocations: 5.763 MB / 0.7312 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.6661, allocations: 4 kB / 0.7312 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00429/0.6704, allocations: 1.999 MB / 0.7332 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/0.671, allocations: 204.1 kB / 0.7334 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.6713, allocations: 32 kB / 0.7334 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008495/0.6722, allocations: 39.97 kB / 0.7334 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.6725, allocations: 108.7 kB / 0.7335 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.6726, allocations: 43.97 kB / 0.7336 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009505/0.6736, allocations: 0.6758 MB / 0.7342 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6736, allocations: 0 / 0.7342 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00202/0.6756, allocations: 0.511 MB / 0.7347 GB, free: 9.668 MB / 0.5762 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.00492/0.6805, allocations: 3.017 MB / 0.7377 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002945/0.6835, allocations: 1.473 MB / 0.7391 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.6835, allocations: 4 kB / 0.7391 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.6854, allocations: 1.025 MB / 0.7401 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.6877, allocations: 378.6 kB / 0.7405 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/0.706, allocations: 10.86 MB / 0.7511 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009991/0.707, allocations: 1.214 MB / 0.7523 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001127/0.7082, allocations: 354 kB / 0.7526 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009434/0.7091, allocations: 0.5891 MB / 0.7532 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of SimCode: time 1.182e-06/0.7091, allocations: 0 / 0.7532 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08096/0.7901, allocations: 39.1 MB / 0.7914 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.68, allocations: 3.984 kB / 0.7914 GB, free: 15.55 MB / 0.6387 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