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.001601/0.001601, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001832/0.001832, allocations: 192.3 kB / 16.14 MB, free: 6.715 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7018/0.7018, allocations: 93.71 MB / 383.7 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 79.66 kB / 462.7 MB, free: 22.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1148, allocations: 68.26 MB / 0.5185 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3357/0.4506, allocations: 78.68 MB / 0.5954 GB, free: 5.941 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.463, allocations: 10.45 MB / 0.6056 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.465, allocations: 83.97 kB / 0.6057 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.4669, allocations: 0.6039 MB / 0.6063 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008138/0.4751, allocations: 2.666 MB / 0.6089 GB, free: 5.828 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004114/0.4793, allocations: 1.316 MB / 0.6101 GB, free: 5.824 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004283/0.4836, allocations: 2.698 MB / 0.6128 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009178/0.4845, allocations: 493.2 kB / 0.6132 GB, free: 5.699 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009964/0.4945, allocations: 4.193 MB / 0.6173 GB, free: 5.426 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.4962, allocations: 0.8775 MB / 0.6182 GB, free: 5.215 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003045/0.4965, allocations: 88.12 kB / 0.6183 GB, free: 5.215 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009839/0.5064, allocations: 4.683 MB / 0.6229 GB, free: 4.891 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000616/0.507, allocations: 309.2 kB / 0.6231 GB, free: 4.816 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00195/0.509, allocations: 0.7689 MB / 0.6239 GB, free: 4.551 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006458/0.5155, allocations: 2.649 MB / 0.6265 GB, free: 3.742 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5155, allocations: 0 / 0.6265 GB, free: 3.742 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.5155, allocations: 1.5 kB / 0.6265 GB, free: 3.742 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.068e-05/0.5156, allocations: 0 / 0.6265 GB, free: 3.742 MB / 462.1 MB 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.00459/0.5201, allocations: 2.235 MB / 0.6287 GB, free: 18.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5202, allocations: 13.47 kB / 0.6287 GB, free: 18.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.5222, allocations: 321 kB / 0.629 GB, free: 18.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.5238, allocations: 0.9996 MB / 0.63 GB, free: 17.67 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.249e-05/0.5239, allocations: 88.12 kB / 0.6301 GB, free: 17.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.5241, allocations: 127 kB / 0.6302 GB, free: 17.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/0.5267, allocations: 1.298 MB / 0.6314 GB, free: 17.26 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.5267, allocations: 0 / 0.6314 GB, free: 17.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.5268, allocations: 43.72 kB / 0.6315 GB, free: 17.26 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-05/0.5269, allocations: 54.11 kB / 0.6315 GB, free: 17.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.5292, allocations: 1.066 MB / 0.6326 GB, free: 17.05 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007219/0.5364, allocations: 5.58 MB / 0.638 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.5385, allocations: 1.08 MB / 0.6391 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/0.5395, allocations: 0.5435 MB / 0.6396 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001488/0.541, allocations: 2.416 MB / 0.642 GB, free: 8.926 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.541, allocations: 44.53 kB / 0.642 GB, free: 8.879 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.937e-06/0.541, allocations: 0 / 0.642 GB, free: 8.879 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.008709/0.5498, allocations: 3.709 MB / 0.6456 GB, free: 6.461 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.5498, allocations: 63.31 kB / 0.6457 GB, free: 6.395 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.5512, allocations: 1.019 MB / 0.6467 GB, free: 5.844 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.5513, allocations: 51.2 kB / 0.6467 GB, free: 5.793 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/0.5518, allocations: 0.6283 MB / 0.6474 GB, free: 5.238 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.5521, allocations: 366.5 kB / 0.6477 GB, free: 4.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.5524, allocations: 190.8 kB / 0.6479 GB, free: 4.809 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5526, allocations: 346.3 kB / 0.6482 GB, free: 4.473 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008161/0.5534, allocations: 389.4 kB / 0.6486 GB, free: 4.281 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009305/0.5543, allocations: 0.531 MB / 0.6491 GB, free: 3.93 MB / 478.1 MB 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.002054/0.5564, allocations: 1.227 MB / 0.6503 GB, free: 3.047 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5564, allocations: 0 / 0.6503 GB, free: 3.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002848/0.5593, allocations: 1.391 MB / 0.6517 GB, free: 2.312 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.5593, allocations: 7.562 kB / 0.6517 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5593, allocations: 2.531 kB / 0.6517 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008049/0.5601, allocations: 243 kB / 0.6519 GB, free: 2.184 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/0.5611, allocations: 219 kB / 0.6521 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005311/0.5664, allocations: 5.282 MB / 0.6573 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.5674, allocations: 50.58 kB / 0.6573 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.5676, allocations: 51.67 kB / 0.6574 GB, free: 13.15 MB / 494.1 MB 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.0007496/0.5683, allocations: 296.1 kB / 0.6576 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/0.5689, allocations: 145.1 kB / 0.6578 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/0.5729, allocations: 1.559 MB / 0.6593 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.573, allocations: 11.12 kB / 0.6593 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.573, allocations: 9.188 kB / 0.6593 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.573, allocations: 7.969 kB / 0.6593 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006709/0.5797, allocations: 3.876 MB / 0.6631 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5798, allocations: 4 kB / 0.6631 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009254/0.5807, allocations: 196.1 kB / 0.6633 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007802/0.5815, allocations: 256.5 kB / 0.6636 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.5816, allocations: 39.97 kB / 0.6636 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005381/0.587, allocations: 5.298 MB / 0.6688 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.587, allocations: 3.938 kB / 0.6688 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/0.5909, allocations: 2.003 MB / 0.6707 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/0.5914, allocations: 195.3 kB / 0.6709 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/0.5917, allocations: 32 kB / 0.6709 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000841/0.5925, allocations: 51.89 kB / 0.671 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.5928, allocations: 96.86 kB / 0.6711 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.5929, allocations: 47.97 kB / 0.6711 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009985/0.5939, allocations: 0.6925 MB / 0.6718 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5939, allocations: 0 / 0.6718 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001929/0.5958, allocations: 0.5076 MB / 0.6723 GB, free: 14.25 MB / 0.4981 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.001334/0.5972, allocations: 0.5665 MB / 0.6729 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002979/0.6002, allocations: 1.474 MB / 0.6743 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.994e-06/0.6002, allocations: 4 kB / 0.6743 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.602, allocations: 1.018 MB / 0.6753 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.6039, allocations: 352.4 kB / 0.6756 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/0.6092, allocations: 3.617 MB / 0.6792 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008638/0.6101, allocations: 1.23 MB / 0.6804 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001146/0.6113, allocations: 351.6 kB / 0.6807 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/0.6117, allocations: 135.3 kB / 0.6808 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.6117, allocations: 0 / 0.6808 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of Templates: time 0.04301/0.6547, allocations: 24.38 MB / 0.7046 GB, free: 13.26 MB / 0.5294 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches