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.001145/0.001145, allocations: 110.6 kB / 16.41 MB, free: 5.973 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.001124/0.001124, allocations: 187.1 kB / 17.35 MB, free: 5.586 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6633/0.6633, allocations: 91.19 MB / 382.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 80.06 kB / 0.5175 GB, free: 4.094 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2816, allocations: 67.69 MB / 0.5836 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.07074/0.3524, allocations: 76.53 MB / 0.6584 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01171/0.3641, allocations: 10.12 MB / 0.6682 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000992/0.3652, allocations: 71.56 kB / 0.6683 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.3668, allocations: 0.6832 MB / 0.669 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006208/0.3731, allocations: 2.965 MB / 0.6719 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.3762, allocations: 1.468 MB / 0.6733 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002697/0.3789, allocations: 2.234 MB / 0.6755 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008183/0.3798, allocations: 0.5301 MB / 0.676 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006217/0.386, allocations: 3.925 MB / 0.6798 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.3873, allocations: 0.8905 MB / 0.6807 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003241/0.3876, allocations: 136 kB / 0.6808 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007164/0.3948, allocations: 4.309 MB / 0.685 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004357/0.3952, allocations: 346.6 kB / 0.6854 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.3963, allocations: 0.8082 MB / 0.6862 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005399/0.4018, allocations: 2.801 MB / 0.6889 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4018, allocations: 0 / 0.6889 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.539e-06/0.4018, allocations: 0 / 0.6889 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.624e-05/0.4019, allocations: 3.938 kB / 0.6889 GB, free: 1.93 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.004568/0.4064, allocations: 2.201 MB / 0.691 GB, free: 15.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4065, allocations: 12.03 kB / 0.6911 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.4086, allocations: 313.8 kB / 0.6914 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.4105, allocations: 1.076 MB / 0.6924 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.339e-05/0.4106, allocations: 90.19 kB / 0.6925 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.4108, allocations: 119.9 kB / 0.6926 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002682/0.4135, allocations: 1.298 MB / 0.6939 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.4136, allocations: 7.875 kB / 0.6939 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.4137, allocations: 48 kB / 0.6939 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-05/0.4137, allocations: 50.17 kB / 0.694 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.4161, allocations: 1.063 MB / 0.695 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00739/0.4235, allocations: 5.525 MB / 0.7004 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.4256, allocations: 1.09 MB / 0.7015 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009999/0.4267, allocations: 0.5534 MB / 0.702 GB, free: 3.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.4281, allocations: 2.412 MB / 0.7044 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.4281, allocations: 47.5 kB / 0.7044 GB, free: 0.832 MB / 0.545 GB Notification: Performance of pre-optimization done (n=100): time 3.116e-06/0.4281, allocations: 4 kB / 0.7044 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.008167/0.4363, allocations: 3.701 MB / 0.708 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.4364, allocations: 60.41 kB / 0.7081 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.4376, allocations: 0.9915 MB / 0.7091 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.512e-05/0.4377, allocations: 45.7 kB / 0.7091 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.4381, allocations: 0.6223 MB / 0.7097 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.4384, allocations: 362.7 kB / 0.7101 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.4387, allocations: 194.8 kB / 0.7102 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4389, allocations: 353.9 kB / 0.7106 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008058/0.4397, allocations: 390.4 kB / 0.711 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009117/0.4406, allocations: 0.5261 MB / 0.7115 GB, free: 9.352 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.001993/0.4426, allocations: 1.227 MB / 0.7127 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4426, allocations: 7.938 kB / 0.7127 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002728/0.4454, allocations: 1.381 MB / 0.714 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4454, allocations: 8 kB / 0.714 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4454, allocations: 4 kB / 0.714 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007429/0.4461, allocations: 241.8 kB / 0.7143 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009162/0.4471, allocations: 223.7 kB / 0.7145 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005358/0.4524, allocations: 5.744 MB / 0.7201 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/0.4532, allocations: 39.97 kB / 0.7201 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.4533, allocations: 47.98 kB / 0.7202 GB, free: 15.9 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.0005133/0.4538, allocations: 305.5 kB / 0.7205 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.4541, allocations: 134.3 kB / 0.7206 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/0.4572, allocations: 1.553 MB / 0.7221 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/0.4573, allocations: 7.922 kB / 0.7221 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4573, allocations: 0 / 0.7221 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.4575, allocations: 203.3 kB / 0.7223 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.4577, allocations: 24 kB / 0.7223 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006279/0.4584, allocations: 47.97 kB / 0.7224 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.4586, allocations: 96.83 kB / 0.7225 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003763/0.4623, allocations: 1.45 MB / 0.7239 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003054/0.4654, allocations: 1.861 MB / 0.7257 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008478/0.4663, allocations: 495.7 kB / 0.7262 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008267/0.4671, allocations: 0.6641 MB / 0.7268 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of Backend: time 4.11e-07/0.4671, allocations: 0 / 0.7268 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004042/0.4712, allocations: 1.962 MB / 0.7287 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004873/0.476, allocations: 3.568 MB / 0.7322 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of Templates: time 0.2614/0.7374, allocations: 29.7 MB / 0.7612 GB, free: 129.6 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