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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001138/0.001138, allocations: 195.7 kB / 16.14 MB, free: 6.703 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.146/1.146, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5759/0.5759, allocations: 89.51 MB / 379.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 87.47 kB / 457.7 MB, free: 23.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.0947, allocations: 67.32 MB / 0.5127 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.2949/0.3896, allocations: 78.21 MB / 0.589 GB, free: 6.016 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009812/0.3995, allocations: 10.26 MB / 0.5991 GB, free: 5.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009953/0.4005, allocations: 21.19 kB / 0.5991 GB, free: 5.914 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.4019, allocations: 0.5899 MB / 0.5997 GB, free: 5.914 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006067/0.408, allocations: 2.554 MB / 0.6022 GB, free: 5.898 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.411, allocations: 1.327 MB / 0.6035 GB, free: 5.895 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00225/0.4133, allocations: 2.398 MB / 0.6058 GB, free: 5.891 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.4139, allocations: 466 kB / 0.6062 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005524/0.4194, allocations: 4.031 MB / 0.6102 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009281/0.4203, allocations: 0.832 MB / 0.611 GB, free: 5.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.4205, allocations: 87.38 kB / 0.6111 GB, free: 5.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007628/0.4281, allocations: 4.691 MB / 0.6157 GB, free: 5.473 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.4284, allocations: 288.2 kB / 0.6159 GB, free: 5.414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006933/0.4291, allocations: 0.6967 MB / 0.6166 GB, free: 5.211 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003038/0.4321, allocations: 2.523 MB / 0.6191 GB, free: 4.859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4321, allocations: 0 / 0.6191 GB, free: 4.859 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.4321, allocations: 0 / 0.6191 GB, free: 4.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.4322, allocations: 0 / 0.6191 GB, free: 4.859 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.00335/0.4355, allocations: 1.973 MB / 0.621 GB, free: 19.9 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4356, allocations: 10.12 kB / 0.621 GB, free: 19.9 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/0.4357, allocations: 175.5 kB / 0.6212 GB, free: 19.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.4375, allocations: 282.9 kB / 0.6214 GB, free: 19.78 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007803/0.4383, allocations: 0.6911 MB / 0.6221 GB, free: 19.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.782e-05/0.4384, allocations: 86.91 kB / 0.6222 GB, free: 19.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.4385, allocations: 124.8 kB / 0.6223 GB, free: 19.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.4407, allocations: 1.308 MB / 0.6236 GB, free: 19.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.4407, allocations: 6.094 kB / 0.6236 GB, free: 19.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/0.4408, allocations: 47 kB / 0.6236 GB, free: 19.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.4408, allocations: 45.22 kB / 0.6237 GB, free: 19.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.4428, allocations: 1.073 MB / 0.6247 GB, free: 18.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00573/0.4485, allocations: 5.487 MB / 0.6301 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.4502, allocations: 1.073 MB / 0.6311 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/0.451, allocations: 0.5464 MB / 0.6317 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/0.4522, allocations: 2.413 MB / 0.634 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.4523, allocations: 41.69 kB / 0.6341 GB, free: 12.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 2.104e-06/0.4523, allocations: 0 / 0.6341 GB, free: 12.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.006602/0.4589, allocations: 3.635 MB / 0.6376 GB, free: 10.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.4589, allocations: 65.75 kB / 0.6377 GB, free: 10.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007052/0.4596, allocations: 0.7671 MB / 0.6384 GB, free: 9.777 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/0.4597, allocations: 46.61 kB / 0.6385 GB, free: 9.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.46, allocations: 0.5195 MB / 0.639 GB, free: 9.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.4602, allocations: 359.9 kB / 0.6393 GB, free: 8.961 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.4605, allocations: 200.1 kB / 0.6395 GB, free: 8.844 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4606, allocations: 346.3 kB / 0.6399 GB, free: 8.508 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007319/0.4613, allocations: 400.4 kB / 0.6402 GB, free: 8.312 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000814/0.4622, allocations: 0.5486 MB / 0.6408 GB, free: 7.945 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.00178/0.4639, allocations: 1.238 MB / 0.642 GB, free: 7.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.464, allocations: 0 / 0.642 GB, free: 7.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002434/0.4664, allocations: 1.386 MB / 0.6433 GB, free: 6.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4664, allocations: 16.44 kB / 0.6434 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4664, allocations: 2.844 kB / 0.6434 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006796/0.4671, allocations: 251.5 kB / 0.6436 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/0.4679, allocations: 229.8 kB / 0.6438 GB, free: 6.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004602/0.4725, allocations: 5.296 MB / 0.649 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.4732, allocations: 46.3 kB / 0.649 GB, free: 1.262 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.509e-05/0.4733, allocations: 47.42 kB / 0.6491 GB, free: 1.25 MB / 478.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 (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.0003983/0.4737, allocations: 291.9 kB / 0.6494 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.4739, allocations: 105.2 kB / 0.6495 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/0.4768, allocations: 1.525 MB / 0.6509 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.4768, allocations: 10.91 kB / 0.651 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4768, allocations: 5.031 kB / 0.651 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.4768, allocations: 11.97 kB / 0.651 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00521/0.4821, allocations: 3.793 MB / 0.6547 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.4821, allocations: 3.062 kB / 0.6547 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007871/0.4829, allocations: 206 kB / 0.6549 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006639/0.4835, allocations: 247 kB / 0.6551 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.961e-05/0.4836, allocations: 39.66 kB / 0.6551 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004849/0.4885, allocations: 5.305 MB / 0.6603 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.4885, allocations: 7.094 kB / 0.6603 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/0.4919, allocations: 1.961 MB / 0.6622 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.4922, allocations: 179.8 kB / 0.6624 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.4924, allocations: 28 kB / 0.6624 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000673/0.493, allocations: 55.95 kB / 0.6625 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.4933, allocations: 96.73 kB / 0.6626 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.216e-05/0.4934, allocations: 47.97 kB / 0.6626 GB, free: 5.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006388/0.494, allocations: 0.5224 MB / 0.6631 GB, free: 4.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.494, allocations: 0 / 0.6631 GB, free: 4.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001594/0.4956, allocations: 0.4998 MB / 0.6636 GB, free: 4.492 MB / 494.1 MB 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.004648/0.5003, allocations: 2.979 MB / 0.6665 GB, free: 1.488 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002884/0.5032, allocations: 1.5 MB / 0.668 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5032, allocations: 0 / 0.668 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.5049, allocations: 1.026 MB / 0.669 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.5069, allocations: 329.7 kB / 0.6693 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.5229, allocations: 10.79 MB / 0.6799 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007618/0.5237, allocations: 1.133 MB / 0.681 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001012/0.5248, allocations: 319.8 kB / 0.6813 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007057/0.5255, allocations: 491.1 kB / 0.6817 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.5255, allocations: 0 / 0.6817 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07328/0.5988, allocations: 34.5 MB / 0.7154 GB, free: 15.28 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/0.5991, allocations: 285.4 kB / 0.7157 GB, free: 14.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.739/3.338, allocations: 0 / 0.7157 GB, free: 14.91 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConductionElement.fmu > 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