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.001583/0.001583, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001862/0.001862, allocations: 188.5 kB / 16.25 MB, free: 6.637 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.663/0.663, allocations: 91.2 MB / 381.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 82.19 kB / 459.8 MB, free: 23.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1244, allocations: 67.69 MB / 0.5151 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3198/0.4442, allocations: 77.13 MB / 0.5905 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.4562, allocations: 10.23 MB / 0.6004 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.4577, allocations: 78.38 kB / 0.6005 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.4592, allocations: 0.6028 MB / 0.6011 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006552/0.4658, allocations: 2.707 MB / 0.6038 GB, free: 5.688 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.4691, allocations: 1.352 MB / 0.6051 GB, free: 5.645 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002804/0.472, allocations: 2.23 MB / 0.6073 GB, free: 5.641 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008225/0.4728, allocations: 0.5486 MB / 0.6078 GB, free: 5.492 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006943/0.4798, allocations: 4.278 MB / 0.612 GB, free: 5.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.4813, allocations: 0.9042 MB / 0.6128 GB, free: 5.125 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.4816, allocations: 134.6 kB / 0.613 GB, free: 5.125 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008669/0.4903, allocations: 4.791 MB / 0.6177 GB, free: 5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004417/0.4907, allocations: 349.5 kB / 0.618 GB, free: 4.938 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.492, allocations: 0.8102 MB / 0.6188 GB, free: 4.688 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005977/0.498, allocations: 2.752 MB / 0.6215 GB, free: 4.277 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4981, allocations: 1.5 kB / 0.6215 GB, free: 4.277 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4981, allocations: 2.531 kB / 0.6215 GB, free: 4.277 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.688e-05/0.4981, allocations: 7.938 kB / 0.6215 GB, free: 4.27 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.004818/0.5029, allocations: 2.203 MB / 0.6236 GB, free: 19.21 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.503, allocations: 9.406 kB / 0.6236 GB, free: 19.21 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.5051, allocations: 324 kB / 0.6239 GB, free: 19.11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.5067, allocations: 0.9794 MB / 0.6249 GB, free: 18.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.184e-05/0.5068, allocations: 87.22 kB / 0.625 GB, free: 18.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.5071, allocations: 121.7 kB / 0.6251 GB, free: 18.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/0.5097, allocations: 1.299 MB / 0.6264 GB, free: 18.28 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.5097, allocations: 3.094 kB / 0.6264 GB, free: 18.28 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.5098, allocations: 43.59 kB / 0.6264 GB, free: 18.28 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.5099, allocations: 52.73 kB / 0.6265 GB, free: 18.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.5121, allocations: 1.07 MB / 0.6275 GB, free: 18.07 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007509/0.5196, allocations: 5.551 MB / 0.6329 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.5216, allocations: 1.082 MB / 0.634 GB, free: 14.01 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008787/0.5225, allocations: 0.5498 MB / 0.6345 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/0.5242, allocations: 2.417 MB / 0.6369 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.5242, allocations: 44.41 kB / 0.6369 GB, free: 10.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 2.605e-06/0.5242, allocations: 4 kB / 0.6369 GB, free: 10.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.008082/0.5323, allocations: 3.7 MB / 0.6405 GB, free: 8.414 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.5324, allocations: 60.78 kB / 0.6406 GB, free: 8.348 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.5335, allocations: 0.9964 MB / 0.6416 GB, free: 7.805 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.091e-05/0.5336, allocations: 46.92 kB / 0.6416 GB, free: 7.758 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/0.5341, allocations: 0.6185 MB / 0.6422 GB, free: 7.211 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002805/0.5344, allocations: 367.2 kB / 0.6426 GB, free: 6.895 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/0.5347, allocations: 190.5 kB / 0.6428 GB, free: 6.781 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5349, allocations: 351.9 kB / 0.6431 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007818/0.5356, allocations: 389 kB / 0.6435 GB, free: 6.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008927/0.5365, allocations: 0.5287 MB / 0.644 GB, free: 5.898 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.001963/0.5385, allocations: 1.225 MB / 0.6452 GB, free: 5.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5385, allocations: 2.781 kB / 0.6452 GB, free: 5.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002761/0.5413, allocations: 1.385 MB / 0.6465 GB, free: 4.289 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5413, allocations: 5.5 kB / 0.6465 GB, free: 4.289 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5413, allocations: 2.656 kB / 0.6465 GB, free: 4.289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000775/0.5421, allocations: 251.5 kB / 0.6468 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009172/0.5431, allocations: 219.7 kB / 0.647 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005523/0.5486, allocations: 5.751 MB / 0.6526 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.5496, allocations: 50.42 kB / 0.6527 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.5497, allocations: 45.64 kB / 0.6527 GB, free: 14.7 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.0006311/0.5504, allocations: 297.1 kB / 0.653 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.5507, allocations: 140.4 kB / 0.6531 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.5541, allocations: 1.553 MB / 0.6546 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5541, allocations: 15.09 kB / 0.6546 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5541, allocations: 6.969 kB / 0.6547 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.5541, allocations: 3.984 kB / 0.6547 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006396/0.5605, allocations: 3.866 MB / 0.6584 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.5605, allocations: 4.031 kB / 0.6584 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/0.5615, allocations: 195.7 kB / 0.6586 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007465/0.5622, allocations: 264.1 kB / 0.6589 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.521e-05/0.5623, allocations: 47.95 kB / 0.6589 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005504/0.5678, allocations: 5.749 MB / 0.6645 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.5679, allocations: 8.031 kB / 0.6645 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/0.5716, allocations: 1.984 MB / 0.6665 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.572, allocations: 199.3 kB / 0.6667 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.5722, allocations: 40 kB / 0.6667 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007462/0.573, allocations: 51.89 kB / 0.6668 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.5732, allocations: 92.8 kB / 0.6668 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-05/0.5733, allocations: 51.97 kB / 0.6669 GB, free: 1.062 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009132/0.5743, allocations: 0.6757 MB / 0.6676 GB, free: 392 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5743, allocations: 0 / 0.6676 GB, free: 392 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001733/0.576, allocations: 0.5116 MB / 0.6681 GB, free: 15.87 MB / 0.4981 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.001175/0.5772, allocations: 0.5517 MB / 0.6686 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003617/0.5808, allocations: 1.575 MB / 0.6701 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5808, allocations: 4 kB / 0.6701 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.5826, allocations: 1.029 MB / 0.6711 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.5846, allocations: 385.6 kB / 0.6715 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/0.5899, allocations: 3.579 MB / 0.675 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008488/0.5908, allocations: 1.218 MB / 0.6762 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001294/0.5921, allocations: 346 kB / 0.6765 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/0.5925, allocations: 135.3 kB / 0.6767 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.5925, allocations: 0 / 0.6767 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of Templates: time 0.04276/0.6353, allocations: 25.17 MB / 0.7012 GB, free: 14.1 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