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.001532/0.001532, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001931/0.001931, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6826/0.6826, allocations: 91.2 MB / 381.2 MB, free: 9.617 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 81.06 kB / 459.6 MB, free: 23.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1171, allocations: 67.69 MB / 0.515 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.3435/0.4607, allocations: 78.65 MB / 0.5918 GB, free: 5.961 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.4753, allocations: 10.41 MB / 0.6019 GB, free: 5.859 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.4778, allocations: 79.44 kB / 0.602 GB, free: 5.859 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.4799, allocations: 0.6098 MB / 0.6026 GB, free: 5.855 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008166/0.4882, allocations: 2.631 MB / 0.6052 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.4917, allocations: 1.327 MB / 0.6065 GB, free: 5.836 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003711/0.4954, allocations: 2.618 MB / 0.609 GB, free: 5.832 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008428/0.4963, allocations: 0.493 MB / 0.6095 GB, free: 5.723 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007708/0.504, allocations: 4.148 MB / 0.6136 GB, free: 5.562 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.5053, allocations: 0.8731 MB / 0.6144 GB, free: 5.375 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.5056, allocations: 88.11 kB / 0.6145 GB, free: 5.375 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009304/0.5149, allocations: 4.682 MB / 0.6191 GB, free: 5.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005325/0.5154, allocations: 302.9 kB / 0.6193 GB, free: 5.184 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.5168, allocations: 0.7607 MB / 0.6201 GB, free: 4.934 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005154/0.522, allocations: 2.643 MB / 0.6227 GB, free: 4.523 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.522, allocations: 1.562 kB / 0.6227 GB, free: 4.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.522, allocations: 4 kB / 0.6227 GB, free: 4.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.693e-05/0.522, allocations: 3.938 kB / 0.6227 GB, free: 4.516 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.004568/0.5266, allocations: 2.201 MB / 0.6248 GB, free: 19.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.5266, allocations: 8.969 kB / 0.6248 GB, free: 19.24 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.5289, allocations: 324.5 kB / 0.6251 GB, free: 19.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.5307, allocations: 0.9773 MB / 0.6261 GB, free: 18.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.5308, allocations: 87.47 kB / 0.6262 GB, free: 18.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.531, allocations: 121.3 kB / 0.6263 GB, free: 18.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.5336, allocations: 1.293 MB / 0.6276 GB, free: 18.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.5336, allocations: 3.938 kB / 0.6276 GB, free: 18.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.5337, allocations: 50.72 kB / 0.6276 GB, free: 18.1 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.5338, allocations: 50.33 kB / 0.6277 GB, free: 18.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.5361, allocations: 1.067 MB / 0.6287 GB, free: 17.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007597/0.5437, allocations: 5.566 MB / 0.6341 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.5457, allocations: 1.077 MB / 0.6352 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000905/0.5467, allocations: 0.5458 MB / 0.6357 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.5481, allocations: 2.417 MB / 0.6381 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.5482, allocations: 54.42 kB / 0.6381 GB, free: 10.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 2.905e-06/0.5482, allocations: 0 / 0.6381 GB, free: 10.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.00823/0.5564, allocations: 3.697 MB / 0.6418 GB, free: 8.246 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.5565, allocations: 66.28 kB / 0.6418 GB, free: 8.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.5577, allocations: 0.9916 MB / 0.6428 GB, free: 7.641 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.5578, allocations: 43.14 kB / 0.6428 GB, free: 7.598 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/0.5582, allocations: 0.6151 MB / 0.6434 GB, free: 7.055 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.5585, allocations: 363.6 kB / 0.6438 GB, free: 6.742 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.5588, allocations: 191.6 kB / 0.644 GB, free: 6.629 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.559, allocations: 358.1 kB / 0.6443 GB, free: 6.281 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007719/0.5597, allocations: 384.4 kB / 0.6447 GB, free: 6.094 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009022/0.5607, allocations: 0.5296 MB / 0.6452 GB, free: 5.742 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.001948/0.5626, allocations: 1.23 MB / 0.6464 GB, free: 4.859 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5626, allocations: 0 / 0.6464 GB, free: 4.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002779/0.5654, allocations: 1.386 MB / 0.6477 GB, free: 4.133 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.5654, allocations: 5.875 kB / 0.6477 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5655, allocations: 2.812 kB / 0.6477 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007628/0.5662, allocations: 237.5 kB / 0.648 GB, free: 4.012 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.5671, allocations: 224.6 kB / 0.6482 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005173/0.5723, allocations: 5.283 MB / 0.6533 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.5735, allocations: 51.3 kB / 0.6534 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.5737, allocations: 56.89 kB / 0.6534 GB, free: 14.96 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.0006505/0.5743, allocations: 293.2 kB / 0.6537 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.5746, allocations: 139 kB / 0.6539 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/0.5779, allocations: 1.56 MB / 0.6554 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.5779, allocations: 14.78 kB / 0.6554 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5779, allocations: 2.719 kB / 0.6554 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.5779, allocations: 6.266 kB / 0.6554 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006217/0.5842, allocations: 3.874 MB / 0.6592 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.5842, allocations: 4 kB / 0.6592 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009221/0.5851, allocations: 195.7 kB / 0.6594 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008005/0.5859, allocations: 246.5 kB / 0.6596 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.586, allocations: 39.97 kB / 0.6596 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005/0.591, allocations: 5.292 MB / 0.6648 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/0.5911, allocations: 15.88 kB / 0.6648 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/0.5949, allocations: 1.988 MB / 0.6668 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/0.5954, allocations: 195.3 kB / 0.667 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.5956, allocations: 28 kB / 0.667 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.5964, allocations: 59.89 kB / 0.667 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.5966, allocations: 92.8 kB / 0.6671 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.5967, allocations: 47.97 kB / 0.6672 GB, free: 1.938 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009256/0.5977, allocations: 0.6758 MB / 0.6678 GB, free: 1.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5977, allocations: 0 / 0.6678 GB, free: 1.258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001896/0.5996, allocations: 0.5037 MB / 0.6683 GB, free: 0.7539 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.001234/0.6008, allocations: 0.5648 MB / 0.6689 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.6038, allocations: 1.47 MB / 0.6703 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.487e-05/0.6038, allocations: 4.625 kB / 0.6703 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.6056, allocations: 1.025 MB / 0.6713 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.6078, allocations: 346.8 kB / 0.6717 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00537/0.6131, allocations: 3.587 MB / 0.6752 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00083/0.614, allocations: 1.21 MB / 0.6763 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00127/0.6153, allocations: 346 kB / 0.6767 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.6157, allocations: 135.3 kB / 0.6768 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of SimCode: time 6.82e-07/0.6157, allocations: 0 / 0.6768 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of Templates: time 0.04152/0.6573, allocations: 24.32 MB / 0.7005 GB, free: 15.91 MB / 0.5294 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