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.001003/0.001004, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.006275/0.006275, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6803/0.6803, allocations: 91.32 MB / 382.7 MB, free: 9.684 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 12.61 kB / 462.7 MB, free: 23.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1177, allocations: 69.21 MB / 0.5195 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3177/0.4355, allocations: 77.04 MB / 0.5947 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.4464, allocations: 10.25 MB / 0.6047 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.4478, allocations: 76.12 kB / 0.6048 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.4494, allocations: 0.5943 MB / 0.6054 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006316/0.4557, allocations: 2.643 MB / 0.6079 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.4588, allocations: 1.32 MB / 0.6092 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002878/0.4617, allocations: 2.622 MB / 0.6118 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000794/0.4625, allocations: 486.8 kB / 0.6123 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00669/0.4692, allocations: 4.084 MB / 0.6162 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.4706, allocations: 0.8001 MB / 0.617 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002964/0.4709, allocations: 57.69 kB / 0.6171 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007876/0.4788, allocations: 4.631 MB / 0.6216 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005513/0.4793, allocations: 260.6 kB / 0.6219 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.4811, allocations: 0.7325 MB / 0.6226 GB, free: 17.42 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007234/0.4884, allocations: 2.582 MB / 0.6251 GB, free: 16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4884, allocations: 0 / 0.6251 GB, free: 16 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4884, allocations: 0 / 0.6251 GB, free: 16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.072e-05/0.4885, allocations: 3.406 kB / 0.6251 GB, free: 16 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.00632/0.4949, allocations: 1.946 MB / 0.627 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.4949, allocations: 10.59 kB / 0.627 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003851/0.4988, allocations: 317.3 kB / 0.6273 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.5015, allocations: 0.9695 MB / 0.6283 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.5017, allocations: 89.47 kB / 0.6283 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/0.502, allocations: 127.1 kB / 0.6285 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004237/0.5062, allocations: 1.301 MB / 0.6297 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/0.5063, allocations: 0 / 0.6297 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.5065, allocations: 47.62 kB / 0.6298 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-05/0.5066, allocations: 53.22 kB / 0.6298 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003943/0.5105, allocations: 1.085 MB / 0.6309 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.5229, allocations: 5.594 MB / 0.6363 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/0.5261, allocations: 1.094 MB / 0.6374 GB, free: 6.824 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.5276, allocations: 0.5466 MB / 0.6379 GB, free: 6.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002045/0.5297, allocations: 2.42 MB / 0.6403 GB, free: 3.688 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.5298, allocations: 46 kB / 0.6404 GB, free: 3.641 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 4.158e-06/0.5298, allocations: 0 / 0.6404 GB, free: 3.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.01026/0.54, allocations: 3.789 MB / 0.6441 GB, free: 1.215 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.5401, allocations: 64.56 kB / 0.6441 GB, free: 1.152 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.5415, allocations: 0.993 MB / 0.6451 GB, free: 0.543 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.88e-05/0.5416, allocations: 45.7 kB / 0.6451 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000497/0.5421, allocations: 0.6176 MB / 0.6457 GB, free: 15.87 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.5424, allocations: 373.4 kB / 0.6461 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.5426, allocations: 85.67 kB / 0.6462 GB, free: 15.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5427, allocations: 349.9 kB / 0.6465 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009325/0.5437, allocations: 402.4 kB / 0.6469 GB, free: 14.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009282/0.5446, allocations: 0.5417 MB / 0.6474 GB, free: 14.09 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.002099/0.5467, allocations: 1.25 MB / 0.6486 GB, free: 12.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.5467, allocations: 0 / 0.6486 GB, free: 12.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002932/0.5497, allocations: 1.42 MB / 0.65 GB, free: 11.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5497, allocations: 4 kB / 0.65 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5497, allocations: 4 kB / 0.65 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008249/0.5506, allocations: 234.5 kB / 0.6503 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009434/0.5515, allocations: 231.7 kB / 0.6505 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005625/0.5572, allocations: 5.296 MB / 0.6557 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009199/0.5581, allocations: 47.92 kB / 0.6557 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.5583, allocations: 55.91 kB / 0.6557 GB, free: 5.027 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 sytem: 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.0005979/0.5589, allocations: 297.6 kB / 0.656 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/0.5592, allocations: 138.3 kB / 0.6562 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/0.5627, allocations: 1.576 MB / 0.6577 GB, free: 3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.5627, allocations: 16 kB / 0.6577 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.5627, allocations: 4 kB / 0.6577 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.5628, allocations: 11.95 kB / 0.6577 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006131/0.5689, allocations: 3.906 MB / 0.6615 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.5689, allocations: 0 / 0.6615 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000902/0.5698, allocations: 204.1 kB / 0.6617 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007463/0.5706, allocations: 252.2 kB / 0.662 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.5707, allocations: 39.97 kB / 0.662 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005215/0.5759, allocations: 5.3 MB / 0.6672 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.5759, allocations: 11.88 kB / 0.6672 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003813/0.5798, allocations: 2.035 MB / 0.6692 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004042/0.5802, allocations: 199.4 kB / 0.6694 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.5804, allocations: 32 kB / 0.6694 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008366/0.5813, allocations: 71.8 kB / 0.6695 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.5815, allocations: 92.86 kB / 0.6696 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.5816, allocations: 47.97 kB / 0.6696 GB, free: 6.027 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009402/0.5826, allocations: 0.668 MB / 0.6703 GB, free: 5.355 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5826, allocations: 0 / 0.6703 GB, free: 5.355 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001764/0.5843, allocations: 0.5076 MB / 0.6708 GB, free: 4.848 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.001255/0.5856, allocations: 0.5703 MB / 0.6713 GB, free: 4.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002911/0.5885, allocations: 1.505 MB / 0.6728 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.5886, allocations: 4 kB / 0.6728 GB, free: 2.754 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.5904, allocations: 1.037 MB / 0.6738 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.5926, allocations: 358.5 kB / 0.6742 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/0.5982, allocations: 3.785 MB / 0.6779 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.5993, allocations: 1.214 MB / 0.679 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001209/0.6005, allocations: 350 kB / 0.6794 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.601, allocations: 135.3 kB / 0.6795 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.601, allocations: 4 kB / 0.6795 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.04113/0.6421, allocations: 24.05 MB / 0.703 GB, free: 3.957 MB / 0.5137 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches