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.005317/0.005317, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001089/0.001089, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6776/0.6776, allocations: 91.2 MB / 381.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001439, allocations: 75.88 kB / 0.5168 GB, free: 9.027 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1385, allocations: 67.7 MB / 0.583 GB, free: 5.25 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3869/0.5254, allocations: 76.52 MB / 0.6577 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01685/0.5423, allocations: 10.11 MB / 0.6676 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.5446, allocations: 67.41 kB / 0.6676 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.5474, allocations: 0.6963 MB / 0.6683 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.5591, allocations: 2.922 MB / 0.6712 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0049/0.564, allocations: 1.456 MB / 0.6726 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003903/0.5679, allocations: 2.236 MB / 0.6748 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.569, allocations: 0.541 MB / 0.6753 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007742/0.5768, allocations: 3.905 MB / 0.6791 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.5784, allocations: 0.8905 MB / 0.68 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003859/0.5788, allocations: 136 kB / 0.6801 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008203/0.587, allocations: 4.313 MB / 0.6843 GB, free: 376 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004808/0.5875, allocations: 342.6 kB / 0.6846 GB, free: 32 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.5889, allocations: 0.8083 MB / 0.6854 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006478/0.5954, allocations: 2.797 MB / 0.6882 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5954, allocations: 0 / 0.6882 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5955, allocations: 0 / 0.6882 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.535e-05/0.5955, allocations: 0 / 0.6882 GB, free: 12.41 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.004961/0.6005, allocations: 2.221 MB / 0.6903 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.6006, allocations: 8.031 kB / 0.6903 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.6025, allocations: 318.2 kB / 0.6906 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.6047, allocations: 1.065 MB / 0.6917 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/0.6047, allocations: 90.25 kB / 0.6918 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.6049, allocations: 119.9 kB / 0.6919 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.6076, allocations: 1.294 MB / 0.6931 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.6076, allocations: 4 kB / 0.6932 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-05/0.6077, allocations: 44 kB / 0.6932 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/0.6078, allocations: 54.23 kB / 0.6932 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.6101, allocations: 1.067 MB / 0.6943 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007775/0.6179, allocations: 5.521 MB / 0.6997 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.6201, allocations: 1.086 MB / 0.7007 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.6211, allocations: 0.5626 MB / 0.7013 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001536/0.6226, allocations: 2.416 MB / 0.7036 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.6227, allocations: 43.56 kB / 0.7037 GB, free: 11.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 2.795e-06/0.6227, allocations: 4 kB / 0.7037 GB, free: 11.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.00853/0.6312, allocations: 3.692 MB / 0.7073 GB, free: 7.445 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.6313, allocations: 68.41 kB / 0.7074 GB, free: 7.367 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.6326, allocations: 0.9953 MB / 0.7083 GB, free: 6.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.777e-05/0.6326, allocations: 41.7 kB / 0.7084 GB, free: 6.316 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.6331, allocations: 0.6185 MB / 0.709 GB, free: 5.691 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.6334, allocations: 366.7 kB / 0.7093 GB, free: 5.328 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.6337, allocations: 190.9 kB / 0.7095 GB, free: 5.137 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6339, allocations: 349.9 kB / 0.7098 GB, free: 4.789 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007809/0.6346, allocations: 390.4 kB / 0.7102 GB, free: 4.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009519/0.6356, allocations: 0.527 MB / 0.7107 GB, free: 3.832 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.002055/0.6377, allocations: 1.226 MB / 0.7119 GB, free: 2.508 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6377, allocations: 8 kB / 0.7119 GB, free: 2.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002791/0.6405, allocations: 1.384 MB / 0.7133 GB, free: 1.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6405, allocations: 6.188 kB / 0.7133 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6405, allocations: 7.938 kB / 0.7133 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007644/0.6413, allocations: 250.3 kB / 0.7135 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008931/0.6422, allocations: 215.7 kB / 0.7137 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/0.6477, allocations: 5.742 MB / 0.7194 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007636/0.6485, allocations: 43.95 kB / 0.7194 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6486, allocations: 47.98 kB / 0.7194 GB, free: 10.37 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.0005521/0.6492, allocations: 305.5 kB / 0.7197 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.6495, allocations: 134.3 kB / 0.7199 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/0.6527, allocations: 1.552 MB / 0.7214 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.6528, allocations: 19.94 kB / 0.7214 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/0.6528, allocations: 4 kB / 0.7214 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.6528, allocations: 3.984 kB / 0.7214 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005877/0.6587, allocations: 3.86 MB / 0.7252 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.6587, allocations: 0 / 0.7252 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00085/0.6596, allocations: 191.7 kB / 0.7254 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007388/0.6603, allocations: 260.2 kB / 0.7256 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.614e-05/0.6604, allocations: 47.95 kB / 0.7257 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005504/0.6659, allocations: 5.755 MB / 0.7313 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.666, allocations: 4.031 kB / 0.7313 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003946/0.6699, allocations: 1.99 MB / 0.7332 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/0.6703, allocations: 203.3 kB / 0.7334 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.6705, allocations: 24 kB / 0.7334 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/0.6711, allocations: 51.89 kB / 0.7335 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.6713, allocations: 92.81 kB / 0.7336 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.674e-05/0.6715, allocations: 51.95 kB / 0.7336 GB, free: 11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008683/0.6723, allocations: 0.668 MB / 0.7343 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6723, allocations: 0 / 0.7343 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001558/0.6739, allocations: 0.5115 MB / 0.7348 GB, free: 9.816 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.001012/0.6749, allocations: 0.5645 MB / 0.7353 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00277/0.6777, allocations: 1.47 MB / 0.7368 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6777, allocations: 4 kB / 0.7368 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.6794, allocations: 1.025 MB / 0.7378 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.6811, allocations: 375.6 kB / 0.7381 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.6858, allocations: 3.018 MB / 0.7411 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/0.6866, allocations: 1.218 MB / 0.7423 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001007/0.6876, allocations: 353.7 kB / 0.7426 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.688, allocations: 131.4 kB / 0.7427 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.688, allocations: 0 / 0.7427 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of Templates: time 0.04594/0.734, allocations: 25.92 MB / 0.768 GB, free: 7.82 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