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.001521/0.001521, allocations: 109.3 kB / 15.99 MB, free: 6.344 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.00178/0.00178, allocations: 197.9 kB / 16.91 MB, free: 6.176 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.291/1.291, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6427/0.6427, allocations: 91.17 MB / 381.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 83.88 kB / 460.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1158, allocations: 67.67 MB / 0.5158 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.2457/0.3615, allocations: 77.13 MB / 0.5911 GB, free: 14.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.3739, allocations: 10.24 MB / 0.6011 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.3755, allocations: 79.41 kB / 0.6012 GB, free: 7.121 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.3773, allocations: 0.6094 MB / 0.6018 GB, free: 6.797 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006892/0.3842, allocations: 2.697 MB / 0.6044 GB, free: 5.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.3875, allocations: 1.351 MB / 0.6057 GB, free: 4.914 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002704/0.3902, allocations: 2.234 MB / 0.6079 GB, free: 3.598 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007334/0.391, allocations: 0.5339 MB / 0.6084 GB, free: 3.344 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006283/0.3973, allocations: 4.28 MB / 0.6126 GB, free: 1.082 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.3984, allocations: 0.9103 MB / 0.6135 GB, free: 476 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.3986, allocations: 136 kB / 0.6136 GB, free: 340 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007311/0.4059, allocations: 4.799 MB / 0.6183 GB, free: 11.53 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.4062, allocations: 346.6 kB / 0.6186 GB, free: 11.19 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000757/0.407, allocations: 0.8043 MB / 0.6194 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.4097, allocations: 2.058 MB / 0.6214 GB, free: 8.316 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4097, allocations: 0 / 0.6214 GB, free: 8.316 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4097, allocations: 0 / 0.6214 GB, free: 8.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.4097, allocations: 4 kB / 0.6214 GB, free: 8.312 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.00376/0.4135, allocations: 2.213 MB / 0.6236 GB, free: 6.043 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.4135, allocations: 8.031 kB / 0.6236 GB, free: 6.035 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.4154, allocations: 318.2 kB / 0.6239 GB, free: 5.723 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.4168, allocations: 0.9709 MB / 0.6248 GB, free: 4.695 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.4169, allocations: 90.25 kB / 0.6249 GB, free: 4.605 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.417, allocations: 119.9 kB / 0.625 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.4195, allocations: 1.29 MB / 0.6263 GB, free: 3.145 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.4195, allocations: 5.391 kB / 0.6263 GB, free: 3.141 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-05/0.4196, allocations: 51.98 kB / 0.6264 GB, free: 3.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/0.4197, allocations: 50.23 kB / 0.6264 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.4219, allocations: 1.072 MB / 0.6275 GB, free: 1.957 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006838/0.4287, allocations: 5.55 MB / 0.6329 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.4307, allocations: 1.082 MB / 0.6339 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009271/0.4316, allocations: 0.5488 MB / 0.6345 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/0.433, allocations: 2.416 MB / 0.6368 GB, free: 7.371 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.4331, allocations: 47.5 kB / 0.6369 GB, free: 7.316 MB / 494.1 MB Notification: Performance of pre-optimization done (n=100): time 2.865e-06/0.4331, allocations: 4 kB / 0.6369 GB, free: 7.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=103): time 0.007793/0.4409, allocations: 3.693 MB / 0.6405 GB, free: 3.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.441, allocations: 68.41 kB / 0.6406 GB, free: 3.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.4421, allocations: 0.9953 MB / 0.6415 GB, free: 2.367 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/0.4422, allocations: 41.7 kB / 0.6416 GB, free: 2.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.4426, allocations: 0.6186 MB / 0.6422 GB, free: 1.695 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.4429, allocations: 366.6 kB / 0.6425 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/0.4432, allocations: 194.9 kB / 0.6427 GB, free: 1.137 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4433, allocations: 349.8 kB / 0.643 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007561/0.4441, allocations: 390.4 kB / 0.6434 GB, free: 416 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/0.445, allocations: 0.5261 MB / 0.6439 GB, free: 15.84 MB / 0.4981 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.001906/0.4469, allocations: 1.232 MB / 0.6451 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4469, allocations: 3.938 kB / 0.6451 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002621/0.4496, allocations: 1.384 MB / 0.6465 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4496, allocations: 4 kB / 0.6465 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.4496, allocations: 5.406 kB / 0.6465 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007331/0.4503, allocations: 243.9 kB / 0.6467 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009035/0.4512, allocations: 219.7 kB / 0.6469 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005194/0.4565, allocations: 5.762 MB / 0.6526 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/0.4572, allocations: 47.95 kB / 0.6526 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.4574, allocations: 51.97 kB / 0.6527 GB, free: 6.367 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 (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.0005009/0.4579, allocations: 294.9 kB / 0.6529 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.4582, allocations: 134.3 kB / 0.6531 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/0.4614, allocations: 1.547 MB / 0.6546 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.4614, allocations: 15.94 kB / 0.6546 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.4614, allocations: 4 kB / 0.6546 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4614, allocations: 9.391 kB / 0.6546 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/0.467, allocations: 3.861 MB / 0.6584 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.467, allocations: 4.281 kB / 0.6584 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008811/0.4679, allocations: 195.8 kB / 0.6586 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007167/0.4686, allocations: 259.1 kB / 0.6588 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.4687, allocations: 43.97 kB / 0.6589 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005087/0.4738, allocations: 5.762 MB / 0.6645 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4738, allocations: 4.625 kB / 0.6645 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/0.4772, allocations: 1.991 MB / 0.6664 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.4775, allocations: 203.2 kB / 0.6666 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.4776, allocations: 28 kB / 0.6667 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006842/0.4783, allocations: 51.95 kB / 0.6667 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.4785, allocations: 96.73 kB / 0.6668 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/0.4786, allocations: 51.97 kB / 0.6668 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007719/0.4794, allocations: 0.6719 MB / 0.6675 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4794, allocations: 3.938 kB / 0.6675 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001379/0.4808, allocations: 0.5077 MB / 0.668 GB, free: 5.84 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.00101/0.4818, allocations: 0.5571 MB / 0.6685 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003185/0.485, allocations: 1.584 MB / 0.6701 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.485, allocations: 4.062 kB / 0.6701 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.4867, allocations: 1.025 MB / 0.6711 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.4882, allocations: 381.9 kB / 0.6715 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.493, allocations: 3.612 MB / 0.675 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007734/0.4938, allocations: 1.21 MB / 0.6762 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.4942, allocations: 147.3 kB / 0.6763 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.4942, allocations: 3.938 kB / 0.6763 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of Templates: time 0.04154/0.5358, allocations: 39.27 MB / 0.7147 GB, free: 6.18 MB / 0.5606 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