Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, 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.001763/0.001763, allocations: 190.5 kB / 16.14 MB, free: 6.691 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7184/0.7184, allocations: 93.71 MB / 383.7 MB, free: 7.172 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 85.2 kB / 462.7 MB, free: 22.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1412, allocations: 68.26 MB / 0.5185 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4538/0.5951, allocations: 163 MB / 0.6777 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01904/0.6142, allocations: 13.09 MB / 0.6905 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.6161, allocations: 53.47 kB / 0.6906 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.6178, allocations: 0.5126 MB / 0.6911 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.6203, allocations: 0.8069 MB / 0.6919 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.6225, allocations: 0.6965 MB / 0.6925 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.6243, allocations: 1.523 MB / 0.694 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004418/0.6248, allocations: 299.8 kB / 0.6943 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000816/0.6256, allocations: 0.5154 MB / 0.6948 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007473/0.6264, allocations: 0.657 MB / 0.6955 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-05/0.6265, allocations: 55.19 kB / 0.6955 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.6293, allocations: 1.376 MB / 0.6969 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.6295, allocations: 175.1 kB / 0.697 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.63, allocations: 0.4894 MB / 0.6975 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.6322, allocations: 1.468 MB / 0.6989 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6323, allocations: 0 / 0.6989 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6323, allocations: 0 / 0.6989 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.6323, allocations: 0 / 0.6989 GB, free: 2.895 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002355/0.6347, allocations: 1.437 MB / 0.7003 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6347, allocations: 8.031 kB / 0.7003 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.6349, allocations: 123.4 kB / 0.7005 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.6359, allocations: 0.7213 MB / 0.7012 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.636, allocations: 50 kB / 0.7012 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.49e-05/0.6361, allocations: 72 kB / 0.7013 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.6373, allocations: 0.7314 MB / 0.702 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.6374, allocations: 1.5 kB / 0.702 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/0.6374, allocations: 24 kB / 0.702 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.6374, allocations: 16 kB / 0.702 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.6385, allocations: 0.6363 MB / 0.7027 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00342/0.6419, allocations: 3.12 MB / 0.7057 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.6432, allocations: 0.5714 MB / 0.7063 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.6436, allocations: 256.9 kB / 0.7065 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002376/0.646, allocations: 2.588 MB / 0.709 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.646, allocations: 47.06 kB / 0.7091 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 2.194e-06/0.646, allocations: 3.938 kB / 0.7091 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56): time 0.003535/0.6496, allocations: 1.777 MB / 0.7108 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.6496, allocations: 59.97 kB / 0.7109 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009553/0.6506, allocations: 0.7043 MB / 0.7116 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.6507, allocations: 33.7 kB / 0.7116 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003269/0.651, allocations: 436.3 kB / 0.712 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.6512, allocations: 197.2 kB / 0.7122 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.6513, allocations: 86.25 kB / 0.7123 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6514, allocations: 326 kB / 0.7126 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.6518, allocations: 169 kB / 0.7128 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/0.6523, allocations: 227.2 kB / 0.713 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007867/0.653, allocations: 431.8 kB / 0.7134 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6531, allocations: 4 kB / 0.7134 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001293/0.6544, allocations: 0.6547 MB / 0.714 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.6544, allocations: 8 kB / 0.714 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.6544, allocations: 0 / 0.714 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004313/0.6548, allocations: 119.1 kB / 0.7141 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.6552, allocations: 95.89 kB / 0.7142 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.6574, allocations: 1.894 MB / 0.7161 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.6579, allocations: 39.97 kB / 0.7161 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/0.658, allocations: 20 kB / 0.7161 GB, free: 92 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000511/0.6585, allocations: 213.7 kB / 0.7164 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.6587, allocations: 86.88 kB / 0.7164 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.6606, allocations: 0.8719 MB / 0.7173 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6606, allocations: 8 kB / 0.7173 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6606, allocations: 4 kB / 0.7173 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.6606, allocations: 3.984 kB / 0.7173 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.6631, allocations: 1.535 MB / 0.7188 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6631, allocations: 0 / 0.7188 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.6635, allocations: 91.88 kB / 0.7189 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004328/0.6639, allocations: 124.6 kB / 0.719 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.664, allocations: 15.98 kB / 0.719 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.666, allocations: 1.898 MB / 0.7209 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.666, allocations: 64 / 0.7209 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.6678, allocations: 0.9792 MB / 0.7218 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.668, allocations: 156 kB / 0.722 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.6682, allocations: 15.94 kB / 0.722 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.6686, allocations: 36.03 kB / 0.722 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.6687, allocations: 48.5 kB / 0.7221 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.6688, allocations: 19.98 kB / 0.7221 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006764/0.6694, allocations: 0.5107 MB / 0.7226 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6695, allocations: 0 / 0.7226 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009785/0.6704, allocations: 327.8 kB / 0.7229 GB, free: 8.879 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008383/0.6713, allocations: 491.5 kB / 0.7234 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.6726, allocations: 0.6154 MB / 0.724 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6727, allocations: 4 kB / 0.724 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008056/0.6735, allocations: 429.6 kB / 0.7244 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.6748, allocations: 252.4 kB / 0.7246 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.6779, allocations: 1.953 MB / 0.7265 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/0.6785, allocations: 1.013 MB / 0.7275 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005149/0.679, allocations: 149.2 kB / 0.7277 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.6792, allocations: 75.42 kB / 0.7277 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.6792, allocations: 4 kB / 0.7277 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of Templates: time 0.02758/0.7068, allocations: 15.97 MB / 0.7433 GB, free: 3.957 MB / 0.545 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches