Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001707/0.001707, allocations: 105.4 kB / 16.41 MB, free: 6.504 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.001776/0.001776, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7844/0.7844, allocations: 97.65 MB / 388.8 MB, free: 1.461 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 83.05 kB / 0.5268 GB, free: 38.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1122, allocations: 69.23 MB / 0.5944 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.09471/0.2069, allocations: 76.72 MB / 0.6693 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.015/0.2219, allocations: 10.17 MB / 0.6793 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.2233, allocations: 75.56 kB / 0.6793 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.2252, allocations: 0.687 MB / 0.68 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007805/0.233, allocations: 3.009 MB / 0.6829 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.2368, allocations: 1.471 MB / 0.6844 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003366/0.2401, allocations: 2.312 MB / 0.6866 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006888/0.2408, allocations: 363.1 kB / 0.687 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007027/0.2479, allocations: 3.974 MB / 0.6909 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.2492, allocations: 0.8905 MB / 0.6917 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.2495, allocations: 136 kB / 0.6919 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007801/0.2573, allocations: 4.309 MB / 0.6961 GB, free: 8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004329/0.2577, allocations: 354.5 kB / 0.6964 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.2587, allocations: 0.8159 MB / 0.6972 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005338/0.2641, allocations: 2.83 MB / 0.7 GB, free: 3.992 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2641, allocations: 0 / 0.7 GB, free: 3.992 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2641, allocations: 4 kB / 0.7 GB, free: 3.988 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.77e-05/0.2641, allocations: 0 / 0.7 GB, free: 3.988 MB / 0.545 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.004783/0.2689, allocations: 2.299 MB / 0.7022 GB, free: 1.629 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2689, allocations: 11.97 kB / 0.7022 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.2711, allocations: 338.7 kB / 0.7026 GB, free: 1.285 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.2732, allocations: 1.109 MB / 0.7036 GB, free: 124 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/0.2733, allocations: 86.25 kB / 0.7037 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.2735, allocations: 120 kB / 0.7038 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.2764, allocations: 1.302 MB / 0.7051 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.2764, allocations: 0 / 0.7051 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.2765, allocations: 48 kB / 0.7052 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.571e-05/0.2766, allocations: 50.17 kB / 0.7052 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.2792, allocations: 1.063 MB / 0.7062 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008665/0.2879, allocations: 5.555 MB / 0.7117 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.2902, allocations: 1.028 MB / 0.7127 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.2913, allocations: 0.5219 MB / 0.7132 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/0.2932, allocations: 2.408 MB / 0.7155 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.2933, allocations: 47.56 kB / 0.7156 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=100): time 2.775e-06/0.2933, allocations: 0 / 0.7156 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.009209/0.3025, allocations: 3.719 MB / 0.7192 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.3025, allocations: 68.34 kB / 0.7193 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.304, allocations: 1.025 MB / 0.7203 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.982e-05/0.3041, allocations: 45.7 kB / 0.7203 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005782/0.3047, allocations: 0.6354 MB / 0.7209 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.305, allocations: 388.7 kB / 0.7213 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003286/0.3053, allocations: 186.9 kB / 0.7215 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3055, allocations: 357.9 kB / 0.7218 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008698/0.3064, allocations: 386.4 kB / 0.7222 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.3074, allocations: 0.53 MB / 0.7227 GB, free: 11.25 MB / 0.5762 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.002277/0.3097, allocations: 1.22 MB / 0.7239 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3097, allocations: 4 kB / 0.7239 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003122/0.3128, allocations: 1.385 MB / 0.7253 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3128, allocations: 4 kB / 0.7253 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.3129, allocations: 4 kB / 0.7253 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008184/0.3137, allocations: 238.4 kB / 0.7255 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009431/0.3146, allocations: 227.6 kB / 0.7257 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/0.3212, allocations: 5.759 MB / 0.7313 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000825/0.322, allocations: 40.02 kB / 0.7314 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.3221, allocations: 51.98 kB / 0.7314 GB, free: 1.785 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.0006079/0.3227, allocations: 305.5 kB / 0.7317 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.323, allocations: 151 kB / 0.7319 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/0.3266, allocations: 1.545 MB / 0.7334 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.3266, allocations: 8 kB / 0.7334 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3266, allocations: 4 kB / 0.7334 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.3266, allocations: 3.984 kB / 0.7334 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006742/0.3333, allocations: 3.865 MB / 0.7372 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.3333, allocations: 7.938 kB / 0.7372 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009324/0.3343, allocations: 187.7 kB / 0.7373 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008028/0.3351, allocations: 246.7 kB / 0.7376 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.647e-05/0.3352, allocations: 43.97 kB / 0.7376 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006603/0.3418, allocations: 5.768 MB / 0.7433 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3418, allocations: 4 kB / 0.7433 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004113/0.3459, allocations: 1.991 MB / 0.7452 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.3463, allocations: 212.1 kB / 0.7454 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.3464, allocations: 28 kB / 0.7454 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006836/0.3471, allocations: 47.95 kB / 0.7455 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.3474, allocations: 100.8 kB / 0.7456 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.872e-05/0.3474, allocations: 47.97 kB / 0.7456 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001033/0.3485, allocations: 0.6925 MB / 0.7463 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.3485, allocations: 0 / 0.7463 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001591/0.3501, allocations: 0.5072 MB / 0.7468 GB, free: 1.188 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.001138/0.3512, allocations: 0.5586 MB / 0.7473 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2487/0.5999, allocations: 1.407 MB / 0.7487 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.5999, allocations: 0 / 0.7487 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/0.6016, allocations: 0.9989 MB / 0.7497 GB, free: 146.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.6033, allocations: 378.5 kB / 0.75 GB, free: 146.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.6074, allocations: 3.098 MB / 0.7531 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007571/0.6082, allocations: 1.229 MB / 0.7543 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009403/0.6091, allocations: 345.9 kB / 0.7546 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/0.6095, allocations: 141.9 kB / 0.7547 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/0.6095, allocations: 3.281 kB / 0.7547 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.03749/0.647, allocations: 25.72 MB / 0.7799 GB, free: 129.3 MB / 0.5919 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=1200 -s gbode -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches