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.004965/0.004965, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00113/0.00113, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6786/0.6786, allocations: 91.18 MB / 381.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 79.89 kB / 0.5168 GB, free: 9.012 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1434, allocations: 67.69 MB / 0.5829 GB, free: 5.246 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3819/0.5253, allocations: 76.52 MB / 0.6577 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01274/0.5381, allocations: 10.12 MB / 0.6676 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.5395, allocations: 67.47 kB / 0.6676 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.5414, allocations: 0.6885 MB / 0.6683 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007859/0.5493, allocations: 2.932 MB / 0.6712 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.553, allocations: 1.456 MB / 0.6726 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003249/0.5563, allocations: 2.239 MB / 0.6748 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008721/0.5572, allocations: 0.5346 MB / 0.6753 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007092/0.5643, allocations: 3.882 MB / 0.6791 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.566, allocations: 0.8944 MB / 0.6799 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.5662, allocations: 132 kB / 0.6801 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008475/0.5747, allocations: 4.309 MB / 0.6843 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.5751, allocations: 346.6 kB / 0.6846 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009103/0.576, allocations: 0.8084 MB / 0.6854 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00484/0.5809, allocations: 2.81 MB / 0.6881 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5809, allocations: 0 / 0.6881 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5809, allocations: 0 / 0.6881 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.5809, allocations: 0 / 0.6881 GB, free: 12.57 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.003897/0.5848, allocations: 2.276 MB / 0.6904 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.5849, allocations: 8.031 kB / 0.6904 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.5869, allocations: 327.2 kB / 0.6907 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.5887, allocations: 1.074 MB / 0.6917 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/0.5887, allocations: 86.25 kB / 0.6918 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.5889, allocations: 135.9 kB / 0.6919 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.5916, allocations: 1.294 MB / 0.6932 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.5916, allocations: 0 / 0.6932 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.5917, allocations: 44 kB / 0.6933 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-05/0.5918, allocations: 54.23 kB / 0.6933 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.5942, allocations: 1.07 MB / 0.6943 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007742/0.6019, allocations: 5.539 MB / 0.6998 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.604, allocations: 1.077 MB / 0.7008 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009802/0.605, allocations: 0.5588 MB / 0.7014 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.6066, allocations: 2.42 MB / 0.7037 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.6066, allocations: 43.56 kB / 0.7038 GB, free: 11.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 3.126e-06/0.6066, allocations: 0 / 0.7038 GB, free: 11.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.008308/0.615, allocations: 3.72 MB / 0.7074 GB, free: 7.492 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.615, allocations: 64.41 kB / 0.7075 GB, free: 7.418 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.6162, allocations: 1.003 MB / 0.7084 GB, free: 6.406 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.6163, allocations: 41.7 kB / 0.7085 GB, free: 6.359 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.6167, allocations: 0.6234 MB / 0.7091 GB, free: 5.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.617, allocations: 388.6 kB / 0.7095 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/0.6173, allocations: 186.9 kB / 0.7096 GB, free: 5.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6175, allocations: 349.9 kB / 0.71 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008097/0.6183, allocations: 394.4 kB / 0.7103 GB, free: 4.426 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009133/0.6192, allocations: 0.5339 MB / 0.7109 GB, free: 3.844 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.001997/0.6212, allocations: 1.219 MB / 0.7121 GB, free: 2.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6212, allocations: 4 kB / 0.7121 GB, free: 2.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002737/0.624, allocations: 1.397 MB / 0.7134 GB, free: 1.105 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.624, allocations: 10.12 kB / 0.7134 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.624, allocations: 4 kB / 0.7134 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007653/0.6248, allocations: 246.4 kB / 0.7137 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.6257, allocations: 215.7 kB / 0.7139 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005545/0.6312, allocations: 5.748 MB / 0.7195 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/0.6319, allocations: 43.95 kB / 0.7195 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6321, allocations: 49.31 kB / 0.7196 GB, free: 10.38 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.0005778/0.6326, allocations: 301.6 kB / 0.7199 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.6329, allocations: 143.1 kB / 0.72 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/0.6361, allocations: 1.559 MB / 0.7215 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.6362, allocations: 11.94 kB / 0.7215 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6362, allocations: 4 kB / 0.7215 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.6362, allocations: 3.984 kB / 0.7215 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005833/0.642, allocations: 3.865 MB / 0.7253 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.6421, allocations: 0 / 0.7253 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008665/0.6429, allocations: 195.7 kB / 0.7255 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007268/0.6437, allocations: 260.2 kB / 0.7258 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.6438, allocations: 47.91 kB / 0.7258 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005524/0.6493, allocations: 5.763 MB / 0.7314 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.6493, allocations: 7.938 kB / 0.7314 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003641/0.653, allocations: 1.999 MB / 0.7334 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.6533, allocations: 204.1 kB / 0.7336 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.6535, allocations: 28 kB / 0.7336 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006717/0.6542, allocations: 47.95 kB / 0.7337 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.6544, allocations: 92.75 kB / 0.7337 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.6545, allocations: 55.95 kB / 0.7338 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008513/0.6553, allocations: 0.668 MB / 0.7344 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6553, allocations: 0 / 0.7344 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00162/0.657, allocations: 0.515 MB / 0.7349 GB, free: 9.785 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.001211/0.6582, allocations: 0.5611 MB / 0.7355 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003029/0.6612, allocations: 1.477 MB / 0.7369 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6612, allocations: 4 kB / 0.7369 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.6631, allocations: 1.025 MB / 0.7379 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.6648, allocations: 377.2 kB / 0.7383 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/0.6696, allocations: 3.07 MB / 0.7413 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008384/0.6705, allocations: 1.214 MB / 0.7425 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009724/0.6715, allocations: 349.7 kB / 0.7428 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.6718, allocations: 143.3 kB / 0.743 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.6718, allocations: 0 / 0.743 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of Templates: time 0.03995/0.7118, allocations: 25.44 MB / 0.7678 GB, free: 8.207 MB / 0.6075 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