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.0009738/0.0009738, allocations: 92.23 kB / 16.02 MB, free: 80 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.001316/0.001316, allocations: 184.2 kB / 16.92 MB, free: 6.652 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.301/1.301, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6114/0.6114, allocations: 89.64 MB / 381.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 10.75 kB / 461.3 MB, free: 24.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1079, allocations: 68.83 MB / 0.5177 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3368/0.4447, allocations: 76.61 MB / 0.5925 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.4555, allocations: 10.1 MB / 0.6024 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.4569, allocations: 22.06 kB / 0.6024 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.4585, allocations: 0.593 MB / 0.603 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00664/0.4651, allocations: 2.561 MB / 0.6055 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.4687, allocations: 1.325 MB / 0.6068 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002955/0.4716, allocations: 2.4 MB / 0.6091 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007117/0.4724, allocations: 455.5 kB / 0.6096 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007422/0.4798, allocations: 3.955 MB / 0.6134 GB, free: 4.379 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.4812, allocations: 0.7645 MB / 0.6142 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.4814, allocations: 57.91 kB / 0.6142 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00756/0.4889, allocations: 4.64 MB / 0.6187 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.4893, allocations: 243.8 kB / 0.619 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.4903, allocations: 0.6709 MB / 0.6196 GB, free: 18.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.4936, allocations: 1.838 MB / 0.6214 GB, free: 17.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4936, allocations: 4 kB / 0.6214 GB, free: 17.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4936, allocations: 0 / 0.6214 GB, free: 17.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.4936, allocations: 1.062 kB / 0.6214 GB, free: 17.72 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.003537/0.4972, allocations: 1.742 MB / 0.6231 GB, free: 16.58 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4972, allocations: 8.969 kB / 0.6231 GB, free: 16.58 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.4992, allocations: 286.7 kB / 0.6234 GB, free: 16.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009971/0.5002, allocations: 0.6927 MB / 0.6241 GB, free: 16.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.5003, allocations: 92.27 kB / 0.6242 GB, free: 16.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.5005, allocations: 121.9 kB / 0.6243 GB, free: 16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.5028, allocations: 1.314 MB / 0.6256 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.5028, allocations: 0 / 0.6256 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.503, allocations: 42.97 kB / 0.6256 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-05/0.503, allocations: 51.61 kB / 0.6257 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.5053, allocations: 1.09 MB / 0.6267 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007598/0.5129, allocations: 5.504 MB / 0.6321 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.515, allocations: 1.086 MB / 0.6332 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009515/0.516, allocations: 0.5624 MB / 0.6337 GB, free: 9.262 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/0.5175, allocations: 2.41 MB / 0.6361 GB, free: 6.391 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.5175, allocations: 46.31 kB / 0.6361 GB, free: 6.344 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 2.805e-06/0.5176, allocations: 4 kB / 0.6361 GB, free: 6.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.008505/0.5261, allocations: 3.725 MB / 0.6398 GB, free: 3.965 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.5261, allocations: 63.44 kB / 0.6398 GB, free: 3.898 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009511/0.5271, allocations: 0.7614 MB / 0.6406 GB, free: 3.469 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.411e-05/0.5272, allocations: 44.3 kB / 0.6406 GB, free: 3.426 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.5276, allocations: 0.5157 MB / 0.6411 GB, free: 2.965 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.5278, allocations: 364.8 kB / 0.6415 GB, free: 2.648 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.528, allocations: 91.36 kB / 0.6415 GB, free: 2.586 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5281, allocations: 346.6 kB / 0.6419 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007879/0.5289, allocations: 415.9 kB / 0.6423 GB, free: 2.055 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00087/0.5298, allocations: 0.5544 MB / 0.6428 GB, free: 1.691 MB / 462.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.001969/0.5318, allocations: 1.275 MB / 0.6441 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5318, allocations: 0 / 0.6441 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002881/0.5347, allocations: 1.41 MB / 0.6454 GB, free: 15.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.5347, allocations: 12.03 kB / 0.6454 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.5347, allocations: 4 kB / 0.6455 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007866/0.5355, allocations: 258.3 kB / 0.6457 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000945/0.5365, allocations: 231.7 kB / 0.6459 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/0.5418, allocations: 5.301 MB / 0.6511 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009402/0.5428, allocations: 56.02 kB / 0.6512 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.5429, allocations: 51.97 kB / 0.6512 GB, free: 9.211 MB / 478.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: 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.000543/0.5435, allocations: 281.6 kB / 0.6515 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.5437, allocations: 106.7 kB / 0.6516 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/0.5469, allocations: 1.552 MB / 0.6531 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.5469, allocations: 15.98 kB / 0.6531 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5469, allocations: 4 kB / 0.6531 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.547, allocations: 3.984 kB / 0.6531 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005906/0.5529, allocations: 3.832 MB / 0.6569 GB, free: 3.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5529, allocations: 0 / 0.6569 GB, free: 3.098 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008756/0.5538, allocations: 199.7 kB / 0.657 GB, free: 2.902 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007351/0.5545, allocations: 264.8 kB / 0.6573 GB, free: 2.637 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.5546, allocations: 35.97 kB / 0.6573 GB, free: 2.602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005103/0.5598, allocations: 5.311 MB / 0.6625 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5598, allocations: 8 kB / 0.6625 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003725/0.5635, allocations: 1.995 MB / 0.6645 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.5639, allocations: 175.8 kB / 0.6646 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.5641, allocations: 32 kB / 0.6647 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008391/0.565, allocations: 63.95 kB / 0.6647 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.5652, allocations: 100.7 kB / 0.6648 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.5653, allocations: 47.97 kB / 0.6649 GB, free: 10.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007579/0.5661, allocations: 0.5226 MB / 0.6654 GB, free: 9.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5661, allocations: 3.938 kB / 0.6654 GB, free: 9.883 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001854/0.568, allocations: 0.5037 MB / 0.6659 GB, free: 9.379 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.00131/0.5693, allocations: 0.5716 MB / 0.6664 GB, free: 8.824 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00305/0.5724, allocations: 1.528 MB / 0.6679 GB, free: 7.258 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/0.5724, allocations: 4.625 kB / 0.6679 GB, free: 7.254 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.5741, allocations: 1.037 MB / 0.6689 GB, free: 6.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/0.5764, allocations: 328.9 kB / 0.6693 GB, free: 5.863 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/0.5814, allocations: 3.483 MB / 0.6727 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.5822, allocations: 1.129 MB / 0.6738 GB, free: 1.156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/0.5827, allocations: 119.3 kB / 0.6739 GB, free: 1.039 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5827, allocations: 4 kB / 0.6739 GB, free: 1.035 MB / 494.1 MB Notification: Performance of Templates: time 0.04167/0.6244, allocations: 34.29 MB / 0.7074 GB, free: 14.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches