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.001186/0.001186, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001293/0.001293, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.27/1.27, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.578/0.578, allocations: 91.18 MB / 381.3 MB, free: 9.527 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 84.78 kB / 459.9 MB, free: 23.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0952/0.0966, allocations: 67.71 MB / 0.5152 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.2724/0.369, allocations: 77.12 MB / 0.5906 GB, free: 5.852 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009424/0.3785, allocations: 10.24 MB / 0.6006 GB, free: 5.754 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.3797, allocations: 79.09 kB / 0.6006 GB, free: 5.754 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.3811, allocations: 0.6041 MB / 0.6012 GB, free: 5.754 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005673/0.3868, allocations: 2.696 MB / 0.6039 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.3896, allocations: 1.361 MB / 0.6052 GB, free: 5.676 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.3917, allocations: 2.23 MB / 0.6074 GB, free: 5.672 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005974/0.3923, allocations: 0.5377 MB / 0.6079 GB, free: 5.527 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005924/0.3982, allocations: 4.279 MB / 0.6121 GB, free: 5.352 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.3993, allocations: 0.902 MB / 0.6129 GB, free: 5.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.3995, allocations: 134.7 kB / 0.6131 GB, free: 5.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006947/0.4064, allocations: 4.8 MB / 0.6178 GB, free: 5.031 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.4067, allocations: 343.8 kB / 0.6181 GB, free: 4.969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007173/0.4074, allocations: 0.8117 MB / 0.6189 GB, free: 4.715 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003329/0.4107, allocations: 2.754 MB / 0.6216 GB, free: 4.305 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.4107, allocations: 1.375 kB / 0.6216 GB, free: 4.305 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4107, allocations: 0 / 0.6216 GB, free: 4.305 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.4108, allocations: 0 / 0.6216 GB, free: 4.305 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.003552/0.4143, allocations: 2.211 MB / 0.6237 GB, free: 19.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4144, allocations: 13.56 kB / 0.6237 GB, free: 19.24 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.4145, allocations: 176.7 kB / 0.6239 GB, free: 19.19 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.4163, allocations: 314.5 kB / 0.6242 GB, free: 19.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.4175, allocations: 0.9764 MB / 0.6252 GB, free: 18.64 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.4176, allocations: 89.08 kB / 0.6252 GB, free: 18.63 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.4177, allocations: 121.2 kB / 0.6254 GB, free: 18.62 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.4198, allocations: 1.298 MB / 0.6266 GB, free: 18.23 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.4199, allocations: 2.531 kB / 0.6266 GB, free: 18.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.404e-05/0.42, allocations: 47.36 kB / 0.6267 GB, free: 18.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.42, allocations: 56.89 kB / 0.6267 GB, free: 18.22 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.4219, allocations: 1.059 MB / 0.6278 GB, free: 18.03 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005853/0.4278, allocations: 5.565 MB / 0.6332 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.4295, allocations: 1.075 MB / 0.6343 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007563/0.4302, allocations: 0.553 MB / 0.6348 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.4315, allocations: 2.416 MB / 0.6372 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.4315, allocations: 46.3 kB / 0.6372 GB, free: 10.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 1.993e-06/0.4315, allocations: 0 / 0.6372 GB, free: 10.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.007002/0.4386, allocations: 3.697 MB / 0.6408 GB, free: 8.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.4386, allocations: 68.25 kB / 0.6409 GB, free: 8.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009751/0.4396, allocations: 0.9941 MB / 0.6418 GB, free: 7.637 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.46e-05/0.4397, allocations: 50.2 kB / 0.6419 GB, free: 7.586 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.4401, allocations: 0.6151 MB / 0.6425 GB, free: 7.043 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.4403, allocations: 362.7 kB / 0.6428 GB, free: 6.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000264/0.4406, allocations: 192.6 kB / 0.643 GB, free: 6.617 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4407, allocations: 353.6 kB / 0.6434 GB, free: 6.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007067/0.4414, allocations: 393.9 kB / 0.6437 GB, free: 6.082 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007923/0.4422, allocations: 0.528 MB / 0.6442 GB, free: 5.73 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.001735/0.444, allocations: 1.219 MB / 0.6454 GB, free: 4.859 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.444, allocations: 0 / 0.6454 GB, free: 4.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002388/0.4464, allocations: 1.385 MB / 0.6468 GB, free: 4.129 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4464, allocations: 5.531 kB / 0.6468 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.4464, allocations: 6.875 kB / 0.6468 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000677/0.4471, allocations: 245.8 kB / 0.647 GB, free: 3.996 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008215/0.4479, allocations: 217.5 kB / 0.6472 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.453, allocations: 5.76 MB / 0.6529 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/0.4538, allocations: 46.17 kB / 0.6529 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/0.4539, allocations: 46.64 kB / 0.653 GB, free: 14.54 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.000508/0.4544, allocations: 300.9 kB / 0.6532 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.4546, allocations: 135.5 kB / 0.6534 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.4578, allocations: 1.555 MB / 0.6549 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4578, allocations: 18.77 kB / 0.6549 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4578, allocations: 5.5 kB / 0.6549 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.4578, allocations: 3.984 kB / 0.6549 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005366/0.4632, allocations: 3.869 MB / 0.6587 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4632, allocations: 0 / 0.6587 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.4641, allocations: 195.7 kB / 0.6589 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006767/0.4648, allocations: 258.4 kB / 0.6591 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-05/0.4649, allocations: 47.95 kB / 0.6592 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004903/0.4698, allocations: 5.759 MB / 0.6648 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4698, allocations: 3.938 kB / 0.6648 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003214/0.473, allocations: 1.991 MB / 0.6667 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.4732, allocations: 199.3 kB / 0.6669 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.4734, allocations: 28 kB / 0.667 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000647/0.4741, allocations: 59.89 kB / 0.667 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.4742, allocations: 96.73 kB / 0.6671 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.19e-05/0.4743, allocations: 47.97 kB / 0.6672 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000732/0.4751, allocations: 0.6681 MB / 0.6678 GB, free: 204 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4751, allocations: 3.938 kB / 0.6678 GB, free: 200 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001413/0.4765, allocations: 0.5076 MB / 0.6683 GB, free: 15.69 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.004288/0.4808, allocations: 3.001 MB / 0.6712 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003008/0.4838, allocations: 1.579 MB / 0.6728 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4838, allocations: 4 kB / 0.6728 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.4854, allocations: 1.024 MB / 0.6738 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.4869, allocations: 393.8 kB / 0.6742 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/0.5032, allocations: 12.21 MB / 0.6861 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/0.504, allocations: 1.218 MB / 0.6873 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001006/0.505, allocations: 350 kB / 0.6876 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007642/0.5058, allocations: 0.5968 MB / 0.6882 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of SimCode: time 4.3e-07/0.5058, allocations: 0 / 0.6882 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.776/3.282, allocations: 38.42 MB / 0.7257 GB, free: 4.688 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/3.282, allocations: 280.2 kB / 0.726 GB, free: 4.328 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.181/7.463, allocations: 0 / 0.726 GB, free: 4.328 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