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: translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, 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.001186/0.001186, allocations: 197.7 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6673/0.6673, allocations: 91.21 MB / 381.6 MB, free: 9.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 77.03 kB / 460.3 MB, free: 23.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1142, allocations: 67.69 MB / 0.5156 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3279/0.4422, allocations: 76.51 MB / 0.5903 GB, free: 5.855 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.4544, allocations: 10.12 MB / 0.6002 GB, free: 5.773 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.4561, allocations: 67.97 kB / 0.6003 GB, free: 5.773 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.4583, allocations: 0.6936 MB / 0.601 GB, free: 5.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008904/0.4673, allocations: 2.921 MB / 0.6038 GB, free: 5.754 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003876/0.4712, allocations: 1.456 MB / 0.6052 GB, free: 5.738 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.4744, allocations: 2.221 MB / 0.6074 GB, free: 5.734 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008136/0.4752, allocations: 0.5441 MB / 0.6079 GB, free: 5.586 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006666/0.4819, allocations: 3.882 MB / 0.6117 GB, free: 5.418 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.4836, allocations: 0.8916 MB / 0.6126 GB, free: 5.227 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003208/0.4839, allocations: 134.8 kB / 0.6127 GB, free: 5.227 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009096/0.493, allocations: 4.275 MB / 0.6169 GB, free: 5.094 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007207/0.4938, allocations: 343.7 kB / 0.6172 GB, free: 5.031 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.4955, allocations: 0.8104 MB / 0.618 GB, free: 4.777 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007586/0.5031, allocations: 2.743 MB / 0.6207 GB, free: 4.371 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.5032, allocations: 0 / 0.6207 GB, free: 4.371 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5032, allocations: 0 / 0.6207 GB, free: 4.371 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.568e-05/0.5032, allocations: 1.375 kB / 0.6207 GB, free: 4.371 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.005352/0.5086, allocations: 2.206 MB / 0.6228 GB, free: 19.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5086, allocations: 10.34 kB / 0.6229 GB, free: 19.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.5108, allocations: 325.6 kB / 0.6232 GB, free: 19.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.5125, allocations: 0.9695 MB / 0.6241 GB, free: 18.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/0.5126, allocations: 86.31 kB / 0.6242 GB, free: 18.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.5128, allocations: 125.2 kB / 0.6243 GB, free: 18.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.5154, allocations: 1.299 MB / 0.6256 GB, free: 18.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.5154, allocations: 0 / 0.6256 GB, free: 18.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.5155, allocations: 45.91 kB / 0.6256 GB, free: 18.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.805e-05/0.5156, allocations: 51.78 kB / 0.6257 GB, free: 18.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.5178, allocations: 1.064 MB / 0.6267 GB, free: 18.53 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007416/0.5252, allocations: 5.568 MB / 0.6322 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.5272, allocations: 1.081 MB / 0.6332 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008699/0.528, allocations: 0.5413 MB / 0.6337 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/0.5296, allocations: 2.418 MB / 0.6361 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.5296, allocations: 49.17 kB / 0.6361 GB, free: 11.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.006e-06/0.5297, allocations: 0 / 0.6361 GB, free: 11.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.008436/0.5381, allocations: 3.705 MB / 0.6398 GB, free: 8.801 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.5382, allocations: 62.94 kB / 0.6398 GB, free: 8.734 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.5399, allocations: 0.9953 MB / 0.6408 GB, free: 8.191 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.5401, allocations: 43.3 kB / 0.6408 GB, free: 8.148 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005721/0.5406, allocations: 0.6115 MB / 0.6414 GB, free: 7.605 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/0.541, allocations: 364.3 kB / 0.6418 GB, free: 7.293 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/0.5414, allocations: 190.8 kB / 0.642 GB, free: 7.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.5416, allocations: 356.4 kB / 0.6423 GB, free: 6.836 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008155/0.5424, allocations: 384.1 kB / 0.6427 GB, free: 6.648 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009204/0.5434, allocations: 0.5406 MB / 0.6432 GB, free: 6.289 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.001929/0.5453, allocations: 1.222 MB / 0.6444 GB, free: 5.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.5453, allocations: 0 / 0.6444 GB, free: 5.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002799/0.5481, allocations: 1.387 MB / 0.6457 GB, free: 4.727 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5481, allocations: 5.031 kB / 0.6458 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5482, allocations: 3.062 kB / 0.6458 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007472/0.5489, allocations: 245.3 kB / 0.646 GB, free: 4.602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008669/0.5498, allocations: 223.7 kB / 0.6462 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005627/0.5554, allocations: 5.753 MB / 0.6518 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.5565, allocations: 43.69 kB / 0.6519 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.5567, allocations: 52.94 kB / 0.6519 GB, free: 15.17 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.0007124/0.5574, allocations: 302 kB / 0.6522 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/0.5577, allocations: 134.5 kB / 0.6523 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/0.5612, allocations: 1.553 MB / 0.6538 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5612, allocations: 14.34 kB / 0.6539 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.5612, allocations: 5.531 kB / 0.6539 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.5613, allocations: 7.969 kB / 0.6539 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006497/0.5678, allocations: 3.872 MB / 0.6577 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.5678, allocations: 2.344 kB / 0.6577 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.5686, allocations: 190.8 kB / 0.6578 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007376/0.5694, allocations: 254.4 kB / 0.6581 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.5695, allocations: 48.52 kB / 0.6581 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005573/0.5751, allocations: 5.763 MB / 0.6638 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5751, allocations: 7.094 kB / 0.6638 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003689/0.5788, allocations: 1.994 MB / 0.6657 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00043/0.5793, allocations: 199.4 kB / 0.6659 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.5796, allocations: 27.94 kB / 0.6659 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007753/0.5803, allocations: 47.97 kB / 0.666 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.5805, allocations: 100.7 kB / 0.6661 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.5807, allocations: 47.97 kB / 0.6661 GB, free: 2.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009558/0.5816, allocations: 0.668 MB / 0.6668 GB, free: 1.418 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5816, allocations: 0 / 0.6668 GB, free: 1.418 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001889/0.5835, allocations: 0.5076 MB / 0.6673 GB, free: 0.9102 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.001256/0.5848, allocations: 0.5618 MB / 0.6678 GB, free: 388 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003556/0.5884, allocations: 1.591 MB / 0.6694 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5884, allocations: 0 / 0.6694 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.5902, allocations: 1.021 MB / 0.6704 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.5922, allocations: 382.6 kB / 0.6707 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.5972, allocations: 3.046 MB / 0.6737 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009758/0.5982, allocations: 1.218 MB / 0.6749 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001249/0.5994, allocations: 346 kB / 0.6752 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.5999, allocations: 131.3 kB / 0.6753 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.5999, allocations: 0 / 0.6753 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of Templates: time 0.0444/0.6443, allocations: 25.24 MB / 0.7 GB, free: 15.57 MB / 0.5294 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.makefile (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 & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches