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.001653/0.001653, allocations: 110 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.001834/0.001834, allocations: 192.2 kB / 16.91 MB, free: 6.184 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.485/1.485, allocations: 222.9 MB / 240.6 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7777/0.7777, allocations: 93.71 MB / 384.5 MB, free: 7.098 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 85.92 kB / 463.6 MB, free: 22.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1596, allocations: 68.26 MB / 0.5194 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4785/0.6382, allocations: 163.1 MB / 0.6787 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01618/0.6544, allocations: 12.99 MB / 0.6914 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.656, allocations: 50.97 kB / 0.6914 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.6577, allocations: 0.5252 MB / 0.6919 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.6602, allocations: 0.7957 MB / 0.6927 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.6624, allocations: 0.7419 MB / 0.6934 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001702/0.6641, allocations: 1.363 MB / 0.6948 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000451/0.6645, allocations: 318.9 kB / 0.6951 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007668/0.6653, allocations: 0.5582 MB / 0.6956 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007717/0.6661, allocations: 0.6688 MB / 0.6963 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.929e-05/0.6662, allocations: 82.25 kB / 0.6963 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.669, allocations: 1.403 MB / 0.6977 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.6692, allocations: 199.1 kB / 0.6979 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.6698, allocations: 0.5167 MB / 0.6984 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.6715, allocations: 1.142 MB / 0.6995 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6715, allocations: 0 / 0.6995 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6715, allocations: 0 / 0.6995 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.6715, allocations: 0 / 0.6995 GB, free: 2.785 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.002487/0.674, allocations: 1.441 MB / 0.7009 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6741, allocations: 8.031 kB / 0.7009 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.6743, allocations: 125.4 kB / 0.701 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.6754, allocations: 0.7213 MB / 0.7018 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.6754, allocations: 54 kB / 0.7018 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.6755, allocations: 71.98 kB / 0.7019 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.6769, allocations: 0.7353 MB / 0.7026 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.6769, allocations: 0 / 0.7026 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.677, allocations: 24 kB / 0.7026 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.677, allocations: 16 kB / 0.7026 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.6781, allocations: 0.6364 MB / 0.7032 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/0.682, allocations: 3.116 MB / 0.7063 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.6833, allocations: 0.5743 MB / 0.7069 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.6837, allocations: 259.9 kB / 0.7071 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002798/0.6865, allocations: 2.592 MB / 0.7096 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.6866, allocations: 46.94 kB / 0.7097 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 1.764e-06/0.6866, allocations: 0 / 0.7097 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56): time 0.003628/0.6902, allocations: 1.773 MB / 0.7114 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.6903, allocations: 63.97 kB / 0.7115 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009001/0.6912, allocations: 0.6966 MB / 0.7121 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.6913, allocations: 33.7 kB / 0.7122 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.6916, allocations: 444.2 kB / 0.7126 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.6918, allocations: 189.2 kB / 0.7128 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.6919, allocations: 90.25 kB / 0.7129 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.6921, allocations: 330 kB / 0.7132 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.6925, allocations: 165 kB / 0.7133 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.6929, allocations: 223.2 kB / 0.7136 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007853/0.6937, allocations: 431.8 kB / 0.714 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6937, allocations: 0 / 0.714 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001277/0.6949, allocations: 0.6507 MB / 0.7146 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.695, allocations: 11.98 kB / 0.7146 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.695, allocations: 0 / 0.7146 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000435/0.6954, allocations: 116.9 kB / 0.7147 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.6958, allocations: 99.89 kB / 0.7148 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.6983, allocations: 2.037 MB / 0.7168 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.6987, allocations: 43.88 kB / 0.7169 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.6988, allocations: 32.05 kB / 0.7169 GB, free: 15.81 MB / 0.5294 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.0003346/0.6991, allocations: 201.7 kB / 0.7171 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.6993, allocations: 94.8 kB / 0.7172 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.701, allocations: 0.8682 MB / 0.718 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.701, allocations: 7.984 kB / 0.718 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.701, allocations: 4 kB / 0.718 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.701, allocations: 0 / 0.718 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.7035, allocations: 1.532 MB / 0.7195 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.7036, allocations: 4 kB / 0.7195 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.7039, allocations: 87.92 kB / 0.7196 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003852/0.7043, allocations: 132.5 kB / 0.7197 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.7043, allocations: 23.98 kB / 0.7198 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/0.7067, allocations: 2.046 MB / 0.7218 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7067, allocations: 0 / 0.7218 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.7085, allocations: 0.9791 MB / 0.7227 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.7087, allocations: 148.1 kB / 0.7229 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.7088, allocations: 15.98 kB / 0.7229 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.7092, allocations: 43.94 kB / 0.7229 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.7093, allocations: 52.42 kB / 0.723 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.7094, allocations: 19.94 kB / 0.723 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007074/0.7101, allocations: 0.5107 MB / 0.7235 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7101, allocations: 4 kB / 0.7235 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009379/0.711, allocations: 331.8 kB / 0.7238 GB, free: 8.438 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.0007735/0.7118, allocations: 476.9 kB / 0.7243 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.7133, allocations: 0.6388 MB / 0.7249 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.7133, allocations: 0 / 0.7249 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007878/0.7141, allocations: 429.6 kB / 0.7253 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.7154, allocations: 279.9 kB / 0.7256 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.7184, allocations: 1.991 MB / 0.7275 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/0.7191, allocations: 1.001 MB / 0.7285 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.7194, allocations: 79.42 kB / 0.7286 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.7194, allocations: 0 / 0.7286 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of Templates: time 0.0275/0.7469, allocations: 19.02 MB / 0.7471 GB, free: 488 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches