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.001144/0.001144, allocations: 109.2 kB / 16.41 MB, free: 6.027 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.001126/0.001126, allocations: 187.4 kB / 17.34 MB, free: 5.633 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7255/0.7255, allocations: 91.19 MB / 382.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 83.86 kB / 0.5175 GB, free: 4.105 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4304, allocations: 67.68 MB / 0.5836 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.08622/0.5167, allocations: 76.53 MB / 0.6583 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.5319, allocations: 10.11 MB / 0.6682 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.5339, allocations: 67.56 kB / 0.6683 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002618/0.5366, allocations: 0.6949 MB / 0.669 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009708/0.5464, allocations: 2.925 MB / 0.6718 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004565/0.551, allocations: 1.456 MB / 0.6732 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003861/0.5548, allocations: 2.23 MB / 0.6754 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.556, allocations: 0.5418 MB / 0.6759 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007987/0.564, allocations: 3.909 MB / 0.6798 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.566, allocations: 0.8906 MB / 0.6806 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005235/0.5665, allocations: 136 kB / 0.6808 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008777/0.5753, allocations: 4.313 MB / 0.685 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006497/0.576, allocations: 338.6 kB / 0.6853 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.5776, allocations: 0.8121 MB / 0.6861 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006681/0.5843, allocations: 2.797 MB / 0.6888 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5843, allocations: 0 / 0.6888 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.078e-06/0.5843, allocations: 0 / 0.6888 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.446e-05/0.5844, allocations: 7.938 kB / 0.6888 GB, free: 2.004 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.005688/0.5901, allocations: 2.201 MB / 0.691 GB, free: 15.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/0.5902, allocations: 12.03 kB / 0.691 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/0.5925, allocations: 313.8 kB / 0.6913 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.5947, allocations: 1.068 MB / 0.6923 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.5948, allocations: 94.17 kB / 0.6924 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.5951, allocations: 119.9 kB / 0.6925 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/0.5983, allocations: 1.294 MB / 0.6938 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.5983, allocations: 3.938 kB / 0.6938 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.5985, allocations: 48 kB / 0.6939 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-05/0.5986, allocations: 50.19 kB / 0.6939 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.6013, allocations: 1.067 MB / 0.6949 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008806/0.6101, allocations: 5.525 MB / 0.7003 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.6124, allocations: 1.09 MB / 0.7014 GB, free: 4.492 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.6135, allocations: 0.5598 MB / 0.7019 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/0.6152, allocations: 2.412 MB / 0.7043 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.6152, allocations: 43.5 kB / 0.7043 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 2.996e-06/0.6153, allocations: 0 / 0.7043 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.00882/0.6241, allocations: 3.702 MB / 0.708 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.6242, allocations: 60.41 kB / 0.708 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.6255, allocations: 0.9954 MB / 0.709 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.587e-05/0.6256, allocations: 41.7 kB / 0.709 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/0.6261, allocations: 0.6224 MB / 0.7096 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/0.6265, allocations: 366.7 kB / 0.71 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.6268, allocations: 190.8 kB / 0.7102 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6269, allocations: 349.9 kB / 0.7105 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/0.6277, allocations: 390.4 kB / 0.7109 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009448/0.6287, allocations: 0.53 MB / 0.7114 GB, free: 9.434 MB / 0.5606 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.002123/0.6308, allocations: 1.23 MB / 0.7126 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6308, allocations: 0 / 0.7126 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002973/0.6338, allocations: 1.385 MB / 0.7139 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.6339, allocations: 8 kB / 0.714 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.6339, allocations: 4 kB / 0.714 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008175/0.6347, allocations: 237.4 kB / 0.7142 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009463/0.6357, allocations: 231.7 kB / 0.7144 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005846/0.6415, allocations: 5.737 MB / 0.72 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.6426, allocations: 40.02 kB / 0.72 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.6428, allocations: 47.97 kB / 0.7201 GB, free: 15.98 MB / 0.5762 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.0006743/0.6435, allocations: 305.1 kB / 0.7204 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.6438, allocations: 142.3 kB / 0.7205 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/0.6472, allocations: 1.547 MB / 0.722 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.6472, allocations: 12 kB / 0.722 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6472, allocations: 8 kB / 0.722 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.6472, allocations: 7.969 kB / 0.7221 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006218/0.6535, allocations: 3.856 MB / 0.7258 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.6535, allocations: 11.92 kB / 0.7258 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009273/0.6544, allocations: 192 kB / 0.726 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007525/0.6552, allocations: 260.8 kB / 0.7263 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.163e-05/0.6553, allocations: 39.97 kB / 0.7263 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005766/0.6611, allocations: 5.756 MB / 0.7319 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.6611, allocations: 4 kB / 0.7319 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004363/0.6655, allocations: 1.987 MB / 0.7339 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/0.666, allocations: 199.3 kB / 0.7341 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.6662, allocations: 31.98 kB / 0.7341 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/0.6669, allocations: 47.97 kB / 0.7341 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.6672, allocations: 100.7 kB / 0.7342 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.6673, allocations: 51.91 kB / 0.7343 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000968/0.6683, allocations: 0.668 MB / 0.7349 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.41e-07/0.6683, allocations: 0 / 0.7349 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002114/0.6704, allocations: 0.5076 MB / 0.7354 GB, free: 15.41 MB / 0.5919 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.001184/0.6716, allocations: 0.556 MB / 0.736 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002986/0.6746, allocations: 1.473 MB / 0.7374 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6746, allocations: 0 / 0.7374 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/0.6764, allocations: 1.026 MB / 0.7384 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.6784, allocations: 388 kB / 0.7388 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.6834, allocations: 3.052 MB / 0.7418 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008735/0.6843, allocations: 1.214 MB / 0.7429 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/0.6849, allocations: 143.3 kB / 0.7431 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/0.6849, allocations: 0 / 0.7431 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.4025/1.087, allocations: 39.42 MB / 0.7816 GB, free: 137.2 MB / 0.5919 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