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.001071/0.001071, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001117/0.001117, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6616/0.6616, allocations: 89.5 MB / 380.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 83.88 kB / 459.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.111, allocations: 67.31 MB / 0.5146 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.2607/0.3717, allocations: 76.18 MB / 0.589 GB, free: 1.586 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.3845, allocations: 9.987 MB / 0.5988 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.3857, allocations: 16.78 kB / 0.5988 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.3877, allocations: 0.6776 MB / 0.5995 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006997/0.3948, allocations: 2.81 MB / 0.6022 GB, free: 8.781 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003723/0.3985, allocations: 1.472 MB / 0.6036 GB, free: 7.957 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002747/0.4013, allocations: 2 MB / 0.6056 GB, free: 6.766 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007394/0.402, allocations: 0.4998 MB / 0.6061 GB, free: 6.539 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006667/0.4087, allocations: 3.768 MB / 0.6098 GB, free: 4.594 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.41, allocations: 0.848 MB / 0.6106 GB, free: 4.043 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002251/0.4102, allocations: 136 kB / 0.6107 GB, free: 4.043 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007933/0.4182, allocations: 4.306 MB / 0.6149 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000337/0.4185, allocations: 338.8 kB / 0.6152 GB, free: 416 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.4197, allocations: 0.7464 MB / 0.616 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005183/0.4249, allocations: 2.579 MB / 0.6185 GB, free: 13.07 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4249, allocations: 0 / 0.6185 GB, free: 13.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4249, allocations: 0 / 0.6185 GB, free: 13.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.422e-05/0.425, allocations: 0 / 0.6185 GB, free: 13.07 MB / 478.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.0041/0.4291, allocations: 1.972 MB / 0.6204 GB, free: 11.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4291, allocations: 8.031 kB / 0.6204 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.4311, allocations: 287 kB / 0.6207 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.4322, allocations: 0.6945 MB / 0.6214 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-05/0.4323, allocations: 90.81 kB / 0.6215 GB, free: 9.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.4325, allocations: 123.8 kB / 0.6216 GB, free: 9.809 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.435, allocations: 1.303 MB / 0.6229 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.435, allocations: 1.266 kB / 0.6229 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/0.4351, allocations: 51.98 kB / 0.6229 GB, free: 8.402 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.448e-05/0.4352, allocations: 46.25 kB / 0.6229 GB, free: 8.355 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.4375, allocations: 1.082 MB / 0.624 GB, free: 7.266 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00752/0.4451, allocations: 5.435 MB / 0.6293 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.4472, allocations: 1.089 MB / 0.6304 GB, free: 308 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009939/0.4482, allocations: 0.5426 MB / 0.6309 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/0.4498, allocations: 2.408 MB / 0.6333 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.4498, allocations: 47.56 kB / 0.6333 GB, free: 12.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=100): time 2.785e-06/0.4498, allocations: 0 / 0.6333 GB, free: 12.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=103): time 0.008062/0.4579, allocations: 3.631 MB / 0.6368 GB, free: 8.941 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.458, allocations: 68.39 kB / 0.6369 GB, free: 8.859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.459, allocations: 0.7592 MB / 0.6377 GB, free: 8.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-05/0.4591, allocations: 41.7 kB / 0.6377 GB, free: 8.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.4594, allocations: 0.5231 MB / 0.6382 GB, free: 7.512 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.4597, allocations: 358.7 kB / 0.6385 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/0.46, allocations: 206.8 kB / 0.6387 GB, free: 6.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4602, allocations: 345.9 kB / 0.6391 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008172/0.461, allocations: 398.4 kB / 0.6395 GB, free: 6.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009238/0.4619, allocations: 0.5463 MB / 0.64 GB, free: 5.625 MB / 494.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.00206/0.464, allocations: 1.247 MB / 0.6412 GB, free: 4.281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.464, allocations: 0 / 0.6412 GB, free: 4.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002729/0.4668, allocations: 1.389 MB / 0.6426 GB, free: 2.871 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4668, allocations: 11.94 kB / 0.6426 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4668, allocations: 4.234 kB / 0.6426 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007732/0.4676, allocations: 247 kB / 0.6428 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000943/0.4685, allocations: 227.7 kB / 0.643 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005579/0.4741, allocations: 5.759 MB / 0.6487 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/0.4748, allocations: 40.03 kB / 0.6487 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.475, allocations: 51.97 kB / 0.6487 GB, free: 12.13 MB / 0.4981 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 (114): * Single equations (assignments): 111 * 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 prepare postOptimizeDAE: time 0.0004808/0.4755, allocations: 286.8 kB / 0.649 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.4757, allocations: 110.7 kB / 0.6491 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003243/0.4789, allocations: 1.518 MB / 0.6506 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.479, allocations: 12 kB / 0.6506 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.479, allocations: 10 kB / 0.6506 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.479, allocations: 3.984 kB / 0.6506 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005753/0.4848, allocations: 3.785 MB / 0.6543 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.4848, allocations: 4 kB / 0.6543 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/0.4856, allocations: 192.1 kB / 0.6545 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007221/0.4864, allocations: 255.3 kB / 0.6548 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.4865, allocations: 43.84 kB / 0.6548 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005342/0.4918, allocations: 5.758 MB / 0.6604 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/0.4919, allocations: 7.938 kB / 0.6604 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003502/0.4954, allocations: 1.958 MB / 0.6623 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.4957, allocations: 179.8 kB / 0.6625 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.4959, allocations: 24 kB / 0.6625 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006588/0.4965, allocations: 55.95 kB / 0.6626 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.4967, allocations: 97.44 kB / 0.6627 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.4968, allocations: 47.97 kB / 0.6627 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006606/0.4975, allocations: 0.5146 MB / 0.6632 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4975, allocations: 4 kB / 0.6632 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00151/0.499, allocations: 0.5037 MB / 0.6637 GB, free: 11.98 MB / 0.5137 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.001087/0.5001, allocations: 0.5528 MB / 0.6643 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00281/0.5029, allocations: 1.52 MB / 0.6657 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5029, allocations: 0 / 0.6657 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.5047, allocations: 1.018 MB / 0.6667 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.5061, allocations: 366.6 kB / 0.6671 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.5103, allocations: 2.727 MB / 0.6698 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007138/0.511, allocations: 1.129 MB / 0.6709 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008704/0.5119, allocations: 327.9 kB / 0.6712 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/0.5123, allocations: 111.4 kB / 0.6713 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of SimCode: time 8.42e-07/0.5123, allocations: 0 / 0.6713 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of Templates: time 0.04086/0.5531, allocations: 24.6 MB / 0.6953 GB, free: 11.99 MB / 0.545 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 -s gbode -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