Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_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_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.0009326/0.0009328, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001097/0.001097, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6946/0.6946, allocations: 89.63 MB / 380.7 MB, free: 11.43 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004475, allocations: 12.7 kB / 460 MB, free: 24.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1877, allocations: 68.83 MB / 0.5165 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.6075/0.7953, allocations: 149.8 MB / 0.6627 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01693/0.8123, allocations: 11.98 MB / 0.6744 GB, free: 8.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.8137, allocations: 21.72 kB / 0.6744 GB, free: 8.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.8156, allocations: 0.4892 MB / 0.6749 GB, free: 8.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.8188, allocations: 0.7579 MB / 0.6757 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002464/0.8213, allocations: 0.6102 MB / 0.6763 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.8234, allocations: 1.274 MB / 0.6775 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006293/0.824, allocations: 255 kB / 0.6777 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.8251, allocations: 418.2 kB / 0.6781 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.8263, allocations: 0.568 MB / 0.6787 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.8265, allocations: 36 kB / 0.6787 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.8299, allocations: 1.228 MB / 0.6799 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.8302, allocations: 135.3 kB / 0.6801 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004877/0.8307, allocations: 197.2 kB / 0.6802 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.8326, allocations: 0.9819 MB / 0.6812 GB, free: 2.699 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.8326, allocations: 0 / 0.6812 GB, free: 2.699 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.829e-06/0.8326, allocations: 0 / 0.6812 GB, free: 2.699 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.075e-05/0.8327, allocations: 0 / 0.6812 GB, free: 2.699 MB / 494.1 MB 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.002631/0.8353, allocations: 1.162 MB / 0.6823 GB, free: 1.488 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.8354, allocations: 11.97 kB / 0.6824 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.8355, allocations: 106.7 kB / 0.6825 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008158/0.8364, allocations: 0.5305 MB / 0.683 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.8364, allocations: 54 kB / 0.683 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.8365, allocations: 75.97 kB / 0.6831 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.8378, allocations: 0.7276 MB / 0.6838 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.8378, allocations: 0 / 0.6838 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/0.8379, allocations: 32 kB / 0.6838 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.8379, allocations: 16 kB / 0.6839 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.839, allocations: 0.648 MB / 0.6845 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003913/0.8429, allocations: 3.08 MB / 0.6875 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.8442, allocations: 0.5921 MB / 0.6881 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.8446, allocations: 259.9 kB / 0.6883 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002745/0.8474, allocations: 2.592 MB / 0.6909 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.8474, allocations: 35.12 kB / 0.6909 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 2.114e-06/0.8475, allocations: 0 / 0.6909 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56): time 0.003442/0.8509, allocations: 1.758 MB / 0.6926 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.851, allocations: 55.97 kB / 0.6927 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007969/0.8518, allocations: 0.5706 MB / 0.6932 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.8518, allocations: 33.7 kB / 0.6932 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.8521, allocations: 380.2 kB / 0.6936 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.8523, allocations: 201.1 kB / 0.6938 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.8523, allocations: 12 kB / 0.6938 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.8525, allocations: 374.7 kB / 0.6942 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.8529, allocations: 173 kB / 0.6943 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/0.8532, allocations: 235.2 kB / 0.6946 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.8536, allocations: 198.1 kB / 0.6947 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8536, allocations: 0 / 0.6947 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001138/0.8548, allocations: 0.6356 MB / 0.6954 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.8548, allocations: 10.38 kB / 0.6954 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8548, allocations: 4 kB / 0.6954 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00041/0.8552, allocations: 108.7 kB / 0.6955 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.8556, allocations: 107.9 kB / 0.6956 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.8577, allocations: 1.899 MB / 0.6974 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.8581, allocations: 40.03 kB / 0.6975 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.8582, allocations: 27.97 kB / 0.6975 GB, free: 0.8633 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003109/0.8585, allocations: 195.1 kB / 0.6977 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.8586, allocations: 67.16 kB / 0.6978 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.8602, allocations: 0.8739 MB / 0.6986 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.8602, allocations: 11.94 kB / 0.6986 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.8602, allocations: 4 kB / 0.6986 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8602, allocations: 0 / 0.6986 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.8626, allocations: 1.5 MB / 0.7001 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.8626, allocations: 0 / 0.7001 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.8629, allocations: 99.92 kB / 0.7002 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/0.8633, allocations: 112.6 kB / 0.7003 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.8633, allocations: 20 kB / 0.7003 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.8653, allocations: 1.895 MB / 0.7022 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.8653, allocations: 7.938 kB / 0.7022 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.8669, allocations: 0.9639 MB / 0.7031 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.8671, allocations: 148.3 kB / 0.7033 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.002e-05/0.8672, allocations: 19.95 kB / 0.7033 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.8675, allocations: 43.88 kB / 0.7033 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.8676, allocations: 52.47 kB / 0.7034 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.8677, allocations: 20.88 kB / 0.7034 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004992/0.8682, allocations: 423.1 kB / 0.7038 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8682, allocations: 0 / 0.7038 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009846/0.8692, allocations: 327.8 kB / 0.7041 GB, free: 9.816 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008484/0.8701, allocations: 493.4 kB / 0.7046 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.8713, allocations: 0.6233 MB / 0.7052 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8713, allocations: 0 / 0.7052 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007338/0.872, allocations: 441.9 kB / 0.7056 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.8732, allocations: 236 kB / 0.7058 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.8759, allocations: 1.765 MB / 0.7075 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.8765, allocations: 0.9576 MB / 0.7085 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004789/0.877, allocations: 132.7 kB / 0.7086 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.8772, allocations: 63.42 kB / 0.7087 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of SimCode: time 1.903e-06/0.8772, allocations: 0 / 0.7087 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of Templates: time 0.0264/0.9036, allocations: 15.11 MB / 0.7234 GB, free: 6.027 MB / 0.5294 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches