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.001335/0.001336, allocations: 112.5 kB / 16.41 MB, free: 6.387 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.001257/0.001257, allocations: 187.7 kB / 17.34 MB, free: 5.84 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6924/0.6924, allocations: 91.19 MB / 382.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 75.88 kB / 0.5175 GB, free: 4.125 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2776, allocations: 67.69 MB / 0.5836 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.0704/0.348, allocations: 76.53 MB / 0.6583 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.36, allocations: 10.12 MB / 0.6682 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.3613, allocations: 67.62 kB / 0.6683 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.3631, allocations: 0.6909 MB / 0.669 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00658/0.3697, allocations: 2.967 MB / 0.6719 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.3729, allocations: 1.464 MB / 0.6733 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002426/0.3753, allocations: 2.237 MB / 0.6755 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000669/0.376, allocations: 0.5379 MB / 0.676 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006293/0.3823, allocations: 3.917 MB / 0.6798 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.3835, allocations: 0.8983 MB / 0.6807 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.3837, allocations: 132 kB / 0.6808 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007414/0.3911, allocations: 4.309 MB / 0.685 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.3915, allocations: 342.6 kB / 0.6854 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008657/0.3923, allocations: 0.8121 MB / 0.6862 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.3968, allocations: 2.807 MB / 0.6889 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3968, allocations: 3.938 kB / 0.6889 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3968, allocations: 0 / 0.6889 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.253e-05/0.3968, allocations: 0 / 0.6889 GB, free: 1.934 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.003839/0.4007, allocations: 2.272 MB / 0.6911 GB, free: 15.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4007, allocations: 12.03 kB / 0.6911 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.4027, allocations: 326.8 kB / 0.6914 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.4044, allocations: 1.077 MB / 0.6925 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.4044, allocations: 90.19 kB / 0.6926 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.4046, allocations: 127.9 kB / 0.6927 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.4071, allocations: 1.294 MB / 0.694 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.4071, allocations: 4 kB / 0.694 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/0.4073, allocations: 48 kB / 0.694 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.4073, allocations: 50.19 kB / 0.6941 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.4096, allocations: 1.063 MB / 0.6951 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007114/0.4168, allocations: 5.539 MB / 0.7005 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.4187, allocations: 1.085 MB / 0.7016 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009594/0.4197, allocations: 0.5598 MB / 0.7021 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.4211, allocations: 2.412 MB / 0.7045 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4211, allocations: 47.55 kB / 0.7045 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 2.846e-06/0.4211, allocations: 0 / 0.7045 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.007893/0.429, allocations: 3.722 MB / 0.7082 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.4291, allocations: 60.41 kB / 0.7082 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.4302, allocations: 0.9954 MB / 0.7092 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/0.4303, allocations: 49.7 kB / 0.7092 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.4307, allocations: 0.6195 MB / 0.7098 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.431, allocations: 388.6 kB / 0.7102 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.4313, allocations: 194.9 kB / 0.7104 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4315, allocations: 349.9 kB / 0.7107 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007685/0.4322, allocations: 390.4 kB / 0.7111 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008791/0.4331, allocations: 0.5261 MB / 0.7116 GB, free: 9.215 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.001958/0.4351, allocations: 1.226 MB / 0.7128 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4351, allocations: 0 / 0.7128 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002675/0.4378, allocations: 1.393 MB / 0.7142 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4378, allocations: 8.094 kB / 0.7142 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4379, allocations: 4 kB / 0.7142 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007287/0.4386, allocations: 247.4 kB / 0.7144 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.4395, allocations: 215.7 kB / 0.7146 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005294/0.4448, allocations: 5.748 MB / 0.7202 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/0.4455, allocations: 36.03 kB / 0.7203 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.4456, allocations: 59.91 kB / 0.7203 GB, free: 15.74 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.0005131/0.4461, allocations: 305.2 kB / 0.7206 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.4464, allocations: 143.1 kB / 0.7208 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/0.4496, allocations: 1.547 MB / 0.7223 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.4496, allocations: 11.91 kB / 0.7223 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4496, allocations: 0 / 0.7223 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.4499, allocations: 204.2 kB / 0.7225 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.45, allocations: 20 kB / 0.7225 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/0.4506, allocations: 51.95 kB / 0.7225 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.4508, allocations: 96.83 kB / 0.7226 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003683/0.4545, allocations: 1.447 MB / 0.724 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003031/0.4576, allocations: 1.87 MB / 0.7259 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008228/0.4584, allocations: 487.7 kB / 0.7263 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009023/0.4593, allocations: 0.6758 MB / 0.727 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of Backend: time 4.1e-07/0.4593, allocations: 4 kB / 0.727 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004247/0.4636, allocations: 1.971 MB / 0.7289 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004645/0.4682, allocations: 3.628 MB / 0.7325 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of Templates: time 0.262/0.7303, allocations: 29.71 MB / 0.7615 GB, free: 129.2 MB / 0.5762 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