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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.007126/0.007126, allocations: 99.09 kB / 15.73 MB, free: 6.441 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.001795/0.001795, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6613/0.6613, allocations: 89.46 MB / 380 MB, free: 10.96 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 83.86 kB / 0.5139 GB, free: 11.77 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1264, allocations: 67.3 MB / 0.5796 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3408/0.4672, allocations: 76.19 MB / 0.654 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01321/0.4805, allocations: 9.982 MB / 0.6638 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.4818, allocations: 22 kB / 0.6638 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.4839, allocations: 0.6843 MB / 0.6645 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007925/0.4919, allocations: 2.804 MB / 0.6672 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.4958, allocations: 1.468 MB / 0.6687 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002956/0.4987, allocations: 2.002 MB / 0.6706 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007689/0.4995, allocations: 0.4999 MB / 0.6711 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01031/0.5098, allocations: 3.765 MB / 0.6748 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.5114, allocations: 0.8559 MB / 0.6756 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.5116, allocations: 132 kB / 0.6757 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007968/0.5196, allocations: 4.318 MB / 0.68 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004015/0.52, allocations: 326.9 kB / 0.6803 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.5211, allocations: 0.7386 MB / 0.681 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005537/0.5266, allocations: 2.593 MB / 0.6835 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5266, allocations: 3.938 kB / 0.6835 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5267, allocations: 0 / 0.6835 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.713e-05/0.5267, allocations: 0 / 0.6835 GB, free: 2.086 MB / 0.5137 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.004228/0.5309, allocations: 2.03 MB / 0.6855 GB, free: 0 / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.531, allocations: 12.08 kB / 0.6855 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.5312, allocations: 173.5 kB / 0.6857 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.5331, allocations: 291.8 kB / 0.686 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.5342, allocations: 0.6994 MB / 0.6866 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.061e-05/0.5343, allocations: 86.25 kB / 0.6867 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.5345, allocations: 123.9 kB / 0.6868 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.5371, allocations: 1.31 MB / 0.6881 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.5371, allocations: 4 kB / 0.6881 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.5373, allocations: 44 kB / 0.6882 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/0.5373, allocations: 50.25 kB / 0.6882 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.5397, allocations: 1.07 MB / 0.6893 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007454/0.5472, allocations: 5.46 MB / 0.6946 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.5493, allocations: 1.08 MB / 0.6956 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.5503, allocations: 0.5543 MB / 0.6962 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/0.552, allocations: 2.408 MB / 0.6985 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.5521, allocations: 55.5 kB / 0.6986 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=100): time 2.695e-06/0.5521, allocations: 0 / 0.6986 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.008003/0.5601, allocations: 3.649 MB / 0.7022 GB, free: 13.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.5601, allocations: 60.41 kB / 0.7022 GB, free: 13.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000962/0.5611, allocations: 0.7671 MB / 0.703 GB, free: 12.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/0.5612, allocations: 45.7 kB / 0.703 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.5616, allocations: 0.5242 MB / 0.7035 GB, free: 12.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.5619, allocations: 384.7 kB / 0.7039 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.5623, allocations: 202.9 kB / 0.7041 GB, free: 11.63 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5624, allocations: 349.9 kB / 0.7044 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008075/0.5632, allocations: 398.4 kB / 0.7048 GB, free: 10.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009622/0.5642, allocations: 0.5457 MB / 0.7053 GB, free: 10.3 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.002109/0.5663, allocations: 1.242 MB / 0.7065 GB, free: 8.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.5663, allocations: 4 kB / 0.7065 GB, free: 8.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002818/0.5692, allocations: 1.393 MB / 0.7079 GB, free: 7.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.5692, allocations: 7.938 kB / 0.7079 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5692, allocations: 4 kB / 0.7079 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007547/0.57, allocations: 248.3 kB / 0.7081 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/0.5709, allocations: 227.7 kB / 0.7084 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006052/0.5769, allocations: 5.755 MB / 0.714 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/0.5777, allocations: 51.91 kB / 0.714 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.5778, allocations: 47.97 kB / 0.7141 GB, free: 0.7852 MB / 0.545 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 (114): * Single equations (assignments): 111 * 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 prepare postOptimizeDAE: time 0.0005544/0.5784, allocations: 291.2 kB / 0.7144 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.5786, allocations: 115.2 kB / 0.7145 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/0.5819, allocations: 1.526 MB / 0.716 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.5819, allocations: 12 kB / 0.716 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.582, allocations: 8 kB / 0.716 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.582, allocations: 3.984 kB / 0.716 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005947/0.5879, allocations: 3.785 MB / 0.7197 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.588, allocations: 4 kB / 0.7197 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008379/0.5888, allocations: 192.1 kB / 0.7199 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007439/0.5896, allocations: 252.6 kB / 0.7201 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.008e-05/0.5897, allocations: 43.91 kB / 0.7201 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00578/0.5954, allocations: 5.766 MB / 0.7258 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.5955, allocations: 4 kB / 0.7258 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/0.5992, allocations: 1.97 MB / 0.7277 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.5995, allocations: 180.4 kB / 0.7279 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.5996, allocations: 32.23 kB / 0.7279 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/0.6003, allocations: 47.95 kB / 0.728 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.6005, allocations: 100.7 kB / 0.7281 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.683e-05/0.6006, allocations: 51.95 kB / 0.7281 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006835/0.6013, allocations: 0.5146 MB / 0.7286 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6013, allocations: 0 / 0.7286 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001432/0.6027, allocations: 0.5111 MB / 0.7291 GB, free: 0.5586 MB / 0.5606 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.004789/0.6075, allocations: 2.973 MB / 0.732 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002854/0.6104, allocations: 1.508 MB / 0.7335 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6104, allocations: 0 / 0.7335 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.6121, allocations: 1.03 MB / 0.7345 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.6137, allocations: 356.2 kB / 0.7348 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.6289, allocations: 9.799 MB / 0.7444 GB, free: 496 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008576/0.6298, allocations: 1.136 MB / 0.7455 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009922/0.6308, allocations: 312.1 kB / 0.7458 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007352/0.6315, allocations: 491.2 kB / 0.7463 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/0.6315, allocations: 0 / 0.7463 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0771/0.7086, allocations: 35.97 MB / 0.7814 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.96, allocations: 15.88 kB / 0.7814 GB, free: 10.9 MB / 0.6231 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